my dog learned polymorphism*
The moose likes JBoss/WildFly and the fly likes JBOSS 4.0 - ERROR [Compiler] Javac exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBOSS 4.0 - ERROR [Compiler] Javac exception" Watch "JBOSS 4.0 - ERROR [Compiler] Javac exception" New topic
Author

JBOSS 4.0 - ERROR [Compiler] Javac exception

Rog�rio J. Ribeiro
Greenhorn

Joined: Jan 27, 2005
Posts: 11
Hi, good morning!

I realize various tests and not have a sucess.
I don't know what's happing, when i invoke servlet it's lanced a exception:
Thanks!



[Edited by Jaikiran: Added code tag]
[ December 12, 2007: Message edited by: Jaikiran Pai ]
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9915
    
158

Is there anything more in the exception stacktrace, especially in the server.log file?


[My Blog] [JavaRanch Journal]
Rog�rio J. Ribeiro
Greenhorn

Joined: Jan 27, 2005
Posts: 11
Thanks..
A complete excpetion:



[Edited by Jaikiran: Added code tag]
[ December 12, 2007: Message edited by: Jaikiran Pai ]
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9915
    
158

Looks like your classpath has some jar files which are outdated (i guess belonging to J2EE1.3). Can you post the list of all the jars that you have in your application package?
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9915
    
158

I went through the exception stacktrace again and it shows that you have the following jar files in your WEB-INF/lib folder:

appserv-rt.jar
jboss-j2ee.jar
xerces.jar
xml-apis.jar


I recommend, you remove these from that folder. appserv-rt.jar is not for JBoss (i guess, its for Sun App server) and the other 3 jar files are already present in server/default/lib folder and hence are not required to be packaged with your application. After deleting these jar files from your application, restart JBoss and try out the jsp.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JBOSS 4.0 - ERROR [Compiler] Javac exception
 
Similar Threads
Mask validation error in struts 1.2
servlet error building
Problem in accessing an attribute through action elements
Using ValidatorForm and AcitonForm in same Application
TransformerConfiguration Exception in struts