• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JBOSS 4.0 - ERROR [Compiler] Javac exception

 
Rog�rio J. Ribeiro
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there anything more in the exception stacktrace, especially in the server.log file?
 
Rog�rio J. Ribeiro
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks..
A complete excpetion:



[Edited by Jaikiran: Added code tag]
[ December 12, 2007: Message edited by: Jaikiran Pai ]
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic