• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 784
  • Last Modified:

Error 500: Unresolved Compilation Error: URGENT HELP

Hi,
I need help with this error. I keep getting this error:

Error 500: Unresolved Compilation Error.

I using WSAD and I am running my web app on my localhost. I get my logon page where I enter my user id and pswd for the application. After I click submit I get the error. Any idea what might be causing this. This is URGENT help needed
0
suketu9
Asked:
suketu9
3 Solutions
 
bloodredsunCommented:
What exacrtly does the exception report? 500 is an internal server error which normaly means that you have a coding error in your jsp or servlet
0
 
suketu9Author Commented:
this is what is displayed in console:

[3/29/06 16:11:00:271 EST] 650123a3 WebGroup      I SRVE0180I: [SPPS-webapp] [/spps] [Servlet.LOG]: /Login.jsp: init
[3/29/06 16:11:05:449 EST] 650123a3 WebGroup      I SRVE0180I: [SPPS-webapp] [/spps] [Servlet.LOG]: LogonController: init
[3/29/06 16:11:05:459 EST] 650123a3 WebGroup      I SRVE0180I: [SPPS-webapp] [/spps] [Servlet.LOG]: LogonController: Entered com.ko.saprofile.ctrl.LogonController via doPost()
[3/29/06 16:11:05:459 EST] 650123a3 WebGroup      I SRVE0180I: [SPPS-webapp] [/spps] [Servlet.LOG]: LogonController: Upon entering state = None
[3/29/06 16:11:06:180 EST] 650123a3 WebGroup      E SRVE0026E: [Servlet Error]-[Unresolved compilation problem:
]: java.lang.Error: Unresolved compilation problem:

      at java.lang.reflect.Constructor.newInstance(Native Method)
      at com.ko.saprofile.util.ConnPool.getConnection(ConnPool.java:7)
      at com.ko.saprofile.mgmt.LogonManagement.getUserBO(LogonManagement.java:31)
      at com.ko.saprofile.ctrl.LogonController.processRequest(LogonController.java:63)
      at com.ko.saprofile.ctrl.BaseController.doPost(BaseController.java:51)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
      at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
      at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
      at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
      at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:258)
      at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
      at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
      at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:872)
      at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:491)
      at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:173)
      at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79)
      at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:199)
      at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
      at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
      at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:331)
      at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
      at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:432)
      at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:343)
      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:592)
0
 
bloodredsunCommented:
It tells you your error. It is a compilation error as I guessed

...java.lang.Error: Unresolved compilation problem:

Specifically it is where you are getting your connection to your database as seen here (line 7 of ConnPool.java)

     at java.lang.reflect.Constructor.newInstance(Native Method)
     at com.ko.saprofile.util.ConnPool.getConnection(ConnPool.java:7)
     at com.ko.saprofile.mgmt.LogonManagement.getUserBO(LogonManagement.java:31)
     at com.ko.saprofile.ctrl.LogonController.processRequest(LogonController.java:63)
     at com.ko.saprofile.ctrl.BaseController.doPost(BaseController.java:51)

Compilation problem may mean many things but commonly it is caused by such things as:
missing jar files such as database drivers
malformed java syntax
missing java imports
variable scoping error
modifier errors

So that is what I would look for.
0
 
KuldeepchaturvediCommented:
As bloodred is saying, looks like your code is not a clean compile.. if you are using WASD.. then building the project in WASD will tell you exactly what compilation errors are there in your code..
0
 
Siva Prasanna KumarPrincipal Solutions ArchitectCommented:
check if there is an error shown by the Editor and try understanding the comments & try to clear or post  the comments.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now