Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Dynamic Web Project isn't building class files
Dynamic Web Project isn't building class files [message #229542] Wed, 25 March 2009 16:03 Go to next message
Michael Sullivan is currently offline Michael SullivanFriend
Messages: 37
Registered: July 2009
Member
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
Update: Re: Dynamic Web Project isn't building class files [message #229561 is a reply to message #229542] Wed, 25 March 2009 16:27 Go to previous message
Michael Sullivan is currently offline Michael SullivanFriend
Messages: 37
Registered: July 2009
Member
After cleaning various things that could be cleaned, deleted various
directories that could be deleted, and rebuilding from scratch, I can now
deploy through Eclipse. At which point my app fails :-) But that's why I
was trying to get it deployed anyway.
Previous Topic:Java EE Module Dependencies Outside Classpath
Next Topic:Problem with V2 validation framework.
Goto Forum:
  


Current Time: Mon Nov 24 21:41:58 GMT 2014

Powered by FUDForum. Page generated in 0.03137 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software