File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Websphere and the fly likes Linkage error while running jsp file provided in the example zkoss war file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Linkage error while running jsp file provided in the example zkoss war file" Watch "Linkage error while running jsp file provided in the example zkoss war file" New topic
Author

Linkage error while running jsp file provided in the example zkoss war file

mudassir syed
Greenhorn

Joined: Jan 18, 2011
Posts: 8
Hi All,

I am trying to run helloZSS.jsp provided in the demo war file on WebSphere6.0,but unable to run as Linkage error is being displayed in the browser .I think this might be due to some version mismatch. please help me out,as I am unable to find the root cause of the problem ,moreover I have followed all the steps given for running the demo war file,maybe I am running short of ideas.Please provide solution for this. I am using jdk1.4,servlet and jsp 2.4,WebSphere Application server 6.0.

Anyhelp would be greatly appreciated.

Error being displayed in the browser window::

  • Error 500: LinkageError while defining class: org.zkoss.zkjsp.ui.ZKSpreadsheetTag Could not be defined due to: org/zkoss/zkjsp/ui/ZKSpreadsheetTag (Unsupported major.minor version 50.0) This is often caused by having a class defined at multiple locations within the classloader hierarchy. Other potential causes include compiling against an older or newer version of the class that has an incompatible method signature. Dumping the current context classloader hierarchy: ==> indicates defining classloader [0] com.ibm.ws.bootstrap.ExtClassLoader@7bee246a [1] sun.misc.Launcher$AppClassLoader@7be4646a [2] sun.misc.Launcher$ExtClassLoader@7be0646a ---Original exception--- java.lang.UnsupportedClassVersionError: org/zkoss/zkjsp/ui/ZKSpreadsheetTag (Unsupported major.minor version 50.0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java(Compiled Code)) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java(Compiled Code)) at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:576) at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code)) at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java(Compiled Code)) at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code)) at com.ibm.ws.jsp.translator.visitor.validator.ValidateVisitor.visitCustomTagStart(ValidateVisitor.java(Compiled Code)) at com.ibm.ws.jsp.translator.visitor.JspVisitor.processJspElement(JspVisitor.java(Compiled Code)) at com.ibm.ws.jsp.translator.visitor.JspVisitor.processChildren(JspVisitor.java(Inlined Compiled Code)) at com.ibm.ws.jsp.translator.visitor.JspVisitor.processJspElement(JspVisitor.java(Compiled Code)) at com.ibm.ws.jsp.translator.visitor.JspVisitor.visit(JspVisitor.java:110) at com.ibm.ws.jsp.translator.JspTranslator.processVisitors(JspTranslator.java:121) at com.ibm.ws.jsp.translator.utils.JspTranslatorUtil.translateJsp(JspTranslatorUtil.java:168) at com.ibm.ws.jsp.translator.utils.JspTranslatorUtil.translateJspAndCompile(JspTranslatorUtil.java:81) at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.translateJsp(JSPExtensionServletWrapper.java:298) at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.checkForTranslation(JSPExtensionServletWrapper.java:265) at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java:137) at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java(Compiled Code)) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java(Compiled Code)) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java(Compiled Code)) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java(Compiled Code)) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java(Compiled Code)) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java(Compiled Code)) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java(Compiled Code)) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java(Compiled Code)) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java(Compiled Code)) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled Code)) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java(Compiled Code)) at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java(Compiled Code)) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code)) --- end Original exception----


  • Here is the helloZSS.jsp :



    My web.xml :

     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: Linkage error while running jsp file provided in the example zkoss war file
     
    Similar Threads
    Struts app gets exception only while debugging
    Unable to deploy a WAR file int oWAS 6.0.2
    EL Syntax error
    Struts appliaction is not working with WAS 6.1.0 Server
    jsp custom tag issues