I do have the home html file, when I give the context root http://localhost:8080/ccc the html file automatically loaded in browser. In the html file I have five links, each contains the ,
link in this format,
<a href="servlet_alias_name">Title</a>
,
when I click on the any one of the link, it says servlet_name not found...is it not possible to navigate from html to servlet via "a href" tag?
I'm using Sun Java App Server8.0, I have included the libraries too while deploying..
And It shows the following exception,
javax.servlet.ServletException: Error instantiating servlet class pagesvsnodes
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:189)
com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTask.java:604)
com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:475)
com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:371)
com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264)
com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281)
com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:83)
root cause
java.lang.NoClassDefFoundError: org/jfree/data/general/PieDataset
java.lang.Class.getDeclaredConstructors0(Native Method)
java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
java.lang.Class.getConstructor0(Class.java:2640)
java.lang.Class.newInstance0(Class.java:321)
java.lang.Class.newInstance(Class.java:303)