On 25/02/12 18:06, vijayalakshmi wrote:
I put it in \jdk1.6.0\jre\lib\ext\ . Its working.
now I have progressed to getting the next level exception ;)
I am attaching my code and the result with this mail. I want to know
what causes the error. I tried googling it. But nothing useful.
When the user clicks the submit button in the HTML page, the servlet
called "submitBlog" is invoked. This calls a method named "Hello" in
another java program. Both the programs are put inside the
WEB-INF\classes\ directory. The "hello" method uses the JENA libraries.
When I execute the program, the following error is displayed.
Please help!!
NoClassDefFoundError for Jena RDFNode.
It's not finding the Jena jar - don't know why; insufficient
information. I don't use Tomcat but (1) is it using that exact JRE and
not an installed separate JRE0 (2) Tomcat is careful on security - maybe
it's not exposing installed extensions because ...
... using \jdk1.6.0\jre\lib\ext\ is not a good idea.
Andy
PS Eclipse can also be used to set up tomcat.