I installed Apache Tomcat 7.0.28 in my JBuilder6. I use JDK 1.6.0_32 (jre6). I can get http://localhost:8080/ page. However, when I tried to run my JSP file, I encountered following error:
org.apache.catalina.startup.Bootstrap start -config "C:\Documents and Settings\user\jbproject\whoznextdoor\conf\server8080.xml" -nonaming
Jun 23, 2012 8:22:47 AM org.apache.catalina.startup.Bootstrap main
WARNING: Bootstrap: command "-nonaming" does not exist.
Xiaotian He wrote:I installed Apache Tomcat 7.0.28 in my JBuilder6.
I wasn't aware what JBuilder was, so did a quick search. Turns out it's an IDE. Are you able to start Tomcat without that IDE? That should tell us if it's a problem with the IDE integration (I'm pretty sure it is) or something else.
Yes, I can start the web server. And I can get the page http://localhost:8080, which says Apache Tomcat install is successful. Anything else I need to do?
Joined: Jun 19, 2012
It is interesting that I got diffrent error when I closed and reopened my project. This time my codes did not compile successfully.
FileUpload.jsp: java.lang.NoClassDefFoundError: org/apache/tools/ant/Task
FileUpload.jsp: Caused by java.lang.NoClassDefFoundError: org.apache.tools.ant.Task
Could not find the main class: org.apache.jasper.jspC. Program will exit.
I tried google this error and was not able to find solution.