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 and the fly likes [JBoss 6.0 M1] Cannot load servlet class:  AppServlet Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » JBoss
Reply 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: 546

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: 8143
    
  52

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: 546

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

Thanks very much again, this one was easy
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: [JBoss 6.0 M1] Cannot load servlet class: AppServlet
 
Similar Threads
upgrading JBOSS 5 CR1 with JSF 2.0.1
Problem of dependency injection in jboss
Importing WAR file of eclipse project to jboss developer studio
problems on getting access to an java bean class from a servlet
Exception sending context initialized event to listener instance of class org.primefaces.optimus.lis