Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp

Heshawa De Silva

Greenhorn
+ Follow
since Jun 28, 2011
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Heshawa De Silva

Tried.
But Still stuck in same place.
All jars are already there, but not in appachi libraries.
But I placed them in it. Stil not working
7 years ago
Has it missing in .WAR file or in server?

Because .WAR file is auto-generated file when compiling.
Do you have any idea what is the missing JAR?
7 years ago
I did a web application using Struts and JPA. Now i want to deploy it in a live server. I deployed it in glassfish during implementing. I tried to deploy it in Appachi tom cat using Tomcat Manager. I choose .WAR file and deployed it.

But when I go to the URL and enter username and password it givs exceptions

javax.servlet.ServletException: Servlet execution threw an exception



java.lang.NoClassDefFoundError: javax/persistence/EntityNotFoundException
ActionClass.LoginAction.execute(LoginAction.java:45)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)



java.lang.ClassNotFoundException: javax.persistence.EntityNotFoundException
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1516)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1361)
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
ActionClass.LoginAction.execute(LoginAction.java:45)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)



and My CSS and pics are not also appearing on my web page.
How do I deploy my web app properly?
7 years ago


This gives me an error message.
How to solve it?
7 years ago
I am using Struts 1.3.8.
I can open jsp files in web-inf folder using 'Actionforwards'
Now I want to open a jsp in web-inf as pop up window.




This is how my page starts.
How can I open this pop up??
8 years ago