Dynamic Web Project isn't building class files [message #229542] |
Wed, 25 March 2009 12:03  |
Eclipse User |
|
|
|
I've been going from one problem to another, trying to get an existing
project working as a Dynamic Web Project, so hopefully I can describe a
clean enough scenario that to get some help here.
I have a Java source directory, called source, with all of my .java files
in it. I have a bunch of jar files, some of which are in
(Project)/WEB-INF/lib and one of which I've so far specified in Java EE
Module Dependencies (log4j).
When I try to run the project on the server, I get:
SEVERE: Error configuring application listener of class
com.tervela.pam.forcedLogoff.SessionListenerClass
java.lang.ClassNotFoundException:
com.tervela.pam.forcedLogoff.SessionListenerClass
...
Looking under
\eclipse_trunk\.metadata\.plugins\org.eclipse.wst.server.cor e\tmp1\wtpwebapps...
I see that my classes directory structure is there entirely, but there are
no actual class files in the directory structure. Looking under my
project, I see no class files there anyway. The project was set to Build
Automatically. I turned that off and selected "Build Project" and it was
over in about a second - still no class files.
Possibly related, I wanted eclipse to build my class files into a specific
directory (Project)/build/classes, so in the sources tab of Configure
Build-Path I tried checking "Allow Output folders for source folders",
thinking that was what was needed to specify the directory for classes. I
left (Project)\build\classes in the text box below it. When I OK out of
that dialog and go back in, the checkbox is once again unchecked. And no
class files anywhere.
What am I missing?
Thanks,
mike
|
|
|
|
Powered by
FUDForum. Page generated in 0.02779 seconds