File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes [JBoss 6.0 M1] Cannot load servlet class:  AppServlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "[JBoss 6.0 M1] Cannot load servlet class:  AppServlet" Watch "[JBoss 6.0 M1] Cannot load servlet class:  AppServlet" New topic
Author

[JBoss 6.0 M1] Cannot load servlet class: AppServlet

Celinio Fernandes
Ranch Hand

Joined: Jun 28, 2003
Posts: 547

Hi,
I have been using JBoss 6.0 M1 for a week now. Everything works fine except that i always get a warning about some
exception regarding a class AppServlet not found. I do not have any AppServlet class in my application. Here is the log :



what is causing that warning ? How can I turn it off ?

Thanks for helping.


SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCBCD 5
Visit my blog
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9955
    
163

17:45:36,398 WARN [ASHelper] Cannot load servlet class: com.eni.dvtejb.web.AppServlet


Are you sure none of your other classes have reference to this class? Either through annotations or maybe some xml file?


[My Blog] [JavaRanch Journal]
Celinio Fernandes
Ranch Hand

Joined: Jun 28, 2003
Posts: 547

oops,
you're right. I still had a reference in web.xml.

Thanks very much again, this one was easy
 
Consider Paul's rocket mass heater.
 
subject: [JBoss 6.0 M1] Cannot load servlet class: AppServlet
 
Similar Threads
Importing WAR file of eclipse project to jboss developer studio
Exception sending context initialized event to listener instance of class org.primefaces.optimus.lis
Problem of dependency injection in jboss
upgrading JBOSS 5 CR1 with JSF 2.0.1
problems on getting access to an java bean class from a servlet