Dear Thank You Very Much! I got the error regarding your clue.

 

 

Nelson Rodrigo
Staff Officer - Software Development
LOADSTAR (PRIVATE) LIMITED
Sri Lanka | Tel: +94 11 483 7914 | Fax: +94 11 224 0892 | Mobile: +94 77 311
6556

P SAVE PAPER  - Please consider our environment before printing *

  _____  

From: ??? [mailto:xuantian...@gmail.com] 
Sent: Thursday, June 18, 2009 5:55 PM
To: nelson.rodr...@loadstarlk.com
Subject: Re: [java ee programming] Re: Servet Error

 

 

window/Preferences/Java/Installed JREs

 

2009/6/18, Nelson Rodrigo - LHQ <nelson.rodr...@loadstarlk.com>: 

Mmm

Yes may be, can you please tell me how can I change my eclips java version 

 

Nelson Rodrigo
Staff Officer - Software Development
LOADSTAR (PRIVATE) LIMITED
Sri Lanka | Tel: +94 11 483 7914 | Fax: +94 11 224 0892 | Mobile: +94 77 311
6556

P SAVE PAPER  - Please consider our environment before printing *

  _____  

From: Batbayar Bazarragchaa [mailto:digz6...@gmail.com] 
Sent: Thursday, June 18, 2009 5:06 PM
To: nelson.rodr...@loadstarlk.com
Cc: java-ee-j2ee-programming-with-passion@googlegroups.com
Subject: [java ee programming] Re: Servet Error

 

Try changing Java version of your tomcat bundled with eclipse.
Your tomcat java version must be higher than compiled version.

On Thu, Jun 18, 2009 at 7:21 PM, Nelson Rodrigo - LHQ
<nelson.rodr...@loadstarlk.com> wrote:

But problem is its come only with eclips

            Otherwise its work properly

 

 

Nelson Rodrigo


Staff Officer - Software Development
LOADSTAR (PRIVATE) LIMITED
Sri Lanka | Tel: +94 11 483 7914 | Fax: +94 11 224 0892 | Mobile: +94 77 311
6556

P SAVE PAPER  - Please consider our environment before printing *

  _____  

From: Batbayar Bazarragchaa [mailto:digz6...@gmail.com] 
Sent: Thursday, June 18, 2009 4:26 PM
To: nelson.rodr...@loadstarlk.com
Cc: java-ee-j2ee-programming-with-passion@googlegroups.com
Subject: Re: [java ee programming] Servet Error

 

Your tomcat java version is lower than compiled java version.



Example: You've compiled your source files in java 1.6 and your tomcat is
running on java 1.5.

On Thu, Jun 18, 2009 at 6:27 PM, Nelson Rodrigo - LHQ
<nelson.rodr...@loadstarlk.com> wrote:


Dear Friends 


            If I run my servlet through eclips its coming following error,
can you any one help me to solve this. Am I dong any mistakes.


 


HTTP Status 500 - 

  _____  


type Exception report

message 

description The server encountered an internal error () that prevented it
from fulfilling this request.

exception 

javax.servlet.ServletException: Error allocating a servlet instance
 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
)
 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processC
onnection(Http11BaseProtocol.java:664)
 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
a:527)
 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
rkerThread.java:80)
 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:684)
        java.lang.Thread.run(Thread.java:595)

root cause 

java.lang.UnsupportedClassVersionError: Bad version number in .class file
        java.lang.ClassLoader.defineClass1(Native Method)
        java.lang.ClassLoader.defineClass(ClassLoader.java:620)
 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
 
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLo
ader.java:1815)
 
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.jav
a:869)
 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1322)
 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1201)
 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
)
 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processC
onnection(Http11BaseProtocol.java:664)
 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
a:527)
 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
rkerThread.java:80)
 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:684)
        java.lang.Thread.run(Thread.java:595)

note The full stack trace of the root cause is available in the Apache
Tomcat/5.5.20 logs.

  _____  


Apache Tomcat/5.5.20


 

 

Nelson Rodrigo
Staff Officer - Software Development
LOADSTAR (PRIVATE) LIMITED
Sri Lanka | Tel: +94 11 483 7914 | Fax: +94 11 224 0892 | Mobile: +94 77 311
6556

P SAVE PAPER  - Please consider our environment before printing *

 

 

 




-- 

Let's care our nature!!!

 

 




-- 
Let's care our nature!!!





 

 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Java 
EE (J2EE) Programming with Passion!" group.
To post to this group, send email to 
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to