Hi everybody!
I have this "Offending class: javax/servlet/Servlet.class" problem too.
I'm working on a Servlet that generates the code-source of an apache Servlet and then compile it. The generated Servlet source-code needs some stuff i have developped in an external libraries that has been compiled with
ant.
So this particular .jar files includes my own libraries and the apache libraries in order to work.
I have a .bat file that is executed by my application that conatains the line :
javac -cp lib/my.jar -d classes src/generatedServlet.java.
When I execute this command in the dos prompt shell, everything works well.
But when this command is executed inside the
java programm, I have this very annoying offending class error...
Any Ideas ?
PS : I hope I am understandable, my english is poor... By the way if you notice bad mistakes, correct me please, it would be very appreciated!
[originally posted on jforum.net by IndyGroumpf]