Skip to main content

gwt-dev-linux.jar does not load

1 reply [Last post]
bcscomputers
Offline
Joined: 2005-12-20
Points: 0

Running
Netbeans 6.0, using galssfish-v2, GWT plugin providing GWT framework.
When I try to run the project after successfully creating the project, I get this error reported in server log:

[#|2008-02-11T10:31:28.915-0600|INFO|sun-appserver9.1|org.apache.catalina.loader.WebappClassLoader|_ThreadID=10;_ThreadName=main;|validateJarFile(/root/tmp/GWTinAction/HelloGWT/build/web/WEB-INF/lib/gwt-dev-linux.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class|#]

... with the result the application does not run, although the buld process report success ... I get just a blank frame in the browser where the application should be saying "hello".

The jar in question is in WEB-INF/lib and jar utility can successfully list out the contects of the jar. What is this reference to the Servlet Spec? BTW, this application woeks okay with Tomcat.

Help?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
bcscomputers
Offline
Joined: 2005-12-20
Points: 0

I have found that it works fine if I pre-start the glassfish server ... that is, if I do not rely on NetBeans successfully starting the server all goes well.

I do not have this problem with tomcat.

Thank you. For my part I have solved my problem.