|Dynamic Web Project with old project structure [message #171454]
||Fri, 16 June 2006 03:59
Originally posted by: marx.nospam_wasko.pl|
I'm using WTP 1.5RC4
I have in CVS such structure:
\lib - here are .jar libraries
\src - here are java sources
\web.xml - here is application web.xml file
Of course classes aren't in CVS, it's only empty directory which should
contain classes. Java sources are in \WEB-INF\src and all other jsp are
in main directory
How should I reconfigure Dynamic Web Project to match my tree?
How I create project:
new project -> checkout form CVS -> new project wizard ->Dynamic Web Project
Then i have a choice:
Dynamic Web Module 2.2/2.3 (is it JSP version or what?), anyway i leave
Then i have:
Context root - I use defult
Content directory - I don't know what to use here, maybe "/"?
Java source directory - i write here WEB-INF/src
After this wizard Eclipse wants to switch to J2EE and downloads sources
Next i change Java Build Path - I include all .jar as libraries and
change output folder from myproject-wtp/build/classes to
myproject-wtp/WEB-INF/classes - it works, classes compile ok and are in
Now i'm starting server - it's publishing something and it starts ok, it
even see my context, but i don't see any jsp file.
I stop server and then start it again - but I can't:
"Server Tomcat v4.1 Server @ localhost failed to start"
An exception stack trace is not available.
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=pl_PL
Command-line arguments: -os win32 -ws win32 -arch x86
Powered by FUDForum
. Page generated in 0.06041 seconds