Wednesday Apr 04, 2007
Wednesday Apr 04, 2007
A customer recently sent email that he was having trouble migrating the Movie Administration Sample Application, originally written for Sun Java Studio Creator, into NetBeans Visual Web Pack. When he opened the project in VWP, he resolved the missing server error by setting the target server to the Bundled Tomcat server. Upon running the application, he received the following error message:
package javax.faces does not exist
This error indicates that the J2EE packages are not available to the Tomcat web server. The fix is to add the JSF 1.1 library to the project as follows:
A second problem, an HTTP 500 Status error, occurred when deploying the application. The server log included this error:
java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/ConfigThis is because the
standard.jar/jstl.jar are needed for deploying to the Tomcat server. Here's the fix:
For more information on migrating projects, see Importing a Sun Java Studio Creator 2 Project in NetBeans Visual Web Pack 5.5.
Thanks. This solved my problem.
Posted by Márcio on September 17, 2007 at 11:45 AM PDT #