This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I have installed Netbeans 6.1 and added the tomcat server 6.0.16. I follow the HelloSpring example from the Netbeans "Setting up a New Project with Spring Web MVC Support" example. Then when I run it, the "Apache Tomcat 6.0.16 log reports the following error: SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at org.springframework.web.context.ContextLoader.<init>(ContextLoader.java:144) at org.springframework.web.context.ContextLoaderListener.createContextLoader(ContextLoaderListener.java:53) I have tried to ad the commons-logging-1.1.jar file to both the server and the HelloSpring project, but I still get the same result. Side note: I tried the GlassFish server first, but got the same error plus several other missing classes.
Perhaps something is missing in tutorial for tomcat...
reassigning to troy as i believe he owns this tutorial
Marking as NO65, in case it is not a tutorial issue please remove the NO65 keyword.
I don't think this is a tutorial issue; I just ran the sample application in the NetBeans 6.1 release using Tomcat 6.0.18 and it was fine. If anyone would like to test this, the application is here: http://www.netbeans.org/files/documents/4/1943/HelloSpring.zip
I am closing this issue as I do not think this has any relevance to the tutorial, and I haven't been able to reproduce the problem. If anyone would like to test the tutorial sample application and can reproduce the issue, please feel free to reopen.