WebDriver error: UnsupportedClassVersionError: org/openqa/selenium/firefox/FirefoxDriver - java

When i click a button in Selenium WebDriver I get the following error, using Firefox 43 and Selenium 2.47.1:
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/openqa/selenium/firefox/FirefoxDriver : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at testDay1.main(testDay1.java:8)

Related

java protobuf run-time formal example not working

I am trying to run the official example for protobuf in java source from here,
followed the README.md
protoc generate the javasource code fine but I can not run the code by:
1- java AddPerson data
or
2- java -cp protobuf-java-3.5.1.jar AddPerson
1- Error for java AddPerson data is:
Exception in thread "main" java.lang.NoClassDefFoundError:
"com/google/protobuf/MessageOrBuilder
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at AddPerson.main(AddPerson.java:69)
Caused by: java.lang.ClassNotFoundException:
com.google.protobuf.MessageOrBuilder
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 25 more"
2- Error for: java -cp target/protobuf-java-3.5.1.jar AddPerson
Error: Could not find or load main class AddPerson
[enter image description here][2]
Try including the current directory in the classpath:
java -cp .:target/protobuf-java-3.5.1.jar AddPerson
The .: is to append classpath. For windows, it is ; instead of :.[1]
[1] https://docs.oracle.com/javase/7/docs/technotes/tools/windows/classpath.html

driven off the jar file compression

How to run a Sikulix.class ?
This is the error I'm getting.
D:\test_sikuli\sikulix>java -cp D:\test_sikuli\sikulix\org\sikuli\ide SikuliIDE
Exception in thread "main" java.lang.NoClassDefFoundError: SikuliIDE (wrong name: org/sikuli/ide/SikuliIDE)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)
The class you want to run is apparently org.sikuli.ide.SikuliIDE. You need to set the classpath to the top folder and not to the package folder and use the qualified class name.
D:\test_sikuli\sikulix>java -cp D:\test_sikuli\sikulix org.sikuli.ide.SikuliIDE

Getting java.lang.NoClassDefFoundError: org/apache/xerces/dom/ElementNSImpl with Apache ODF Toolkit

I am trying to read an ods file using Apache ODF Toolkit. I am getting java.lang.NoClassDefFoundError error while while trying to load the Spreadsheet using below code-
SpreadsheetDocument data = SpreadsheetDocument.loadDocument(file);
Below is the error trace-
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/xerces/dom/ElementNSImpl
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at test.read.ODSFile.ReadODS.main(ReadODS.java:33)
Caused by: java.lang.ClassNotFoundException: org.apache.xerces.dom.ElementNSImpl
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 25 more
Below is the project structure, which shows the classpath-
Is there any dependencies missing?
It seems your code can not find the class:
Caused by: java.lang.ClassNotFoundException: org.apache.xerces.dom.ElementNSImpl
from ODF Toolkit
Note: ODFDOM requires Apache Xerces. The jar file xercesImpl.jar also must exist in a folder lib next to odfxsltrunner.jar file, or it must be in the classpath. The ODF XSLT Runner NetBeans projects includes a reference to xersesImpl.jar in the runtime classpath which has to be adapted after checking out the project.

How to embed a Java applet?

I wrote a simple java applet in NetBeans and am having real trouble getting it embedded. I take my class file and copy that to the same directory as my html page. I also put my .jar there. On the html page I do
<applet code="ServerStatus.class" width="200" height="200">
Your browser does not support the <code>applet</code> tag.
</applet>
But the applet never loads. The first bit of the long error is:
load: class ServerStatusChecker.jar not found.
java.lang.ClassNotFoundException: ServerStatusChecker.jar
What do I have to do to embed this applet? The top of my MyApplet.java file is
package org.me.serverstatuschecker;
import java.applet.*;
import java.awt.*;
import java.awt.event.*;
import java.io.*;
import java.net.*;
public class MyApplet extends Applet implements ActionListener {
My ServerStatusChecker.jar is in the same place as the html file im trying to include it in. Inside the jar i have folders org/me/serverstatuschecker/MyApplet.class.
EDIT:
The full error message is as follows:
Java Plug-in 1.6.0_31
Using JRE version 1.6.0_31-b05 Java HotSpot(TM) Client VM
----------------------------------------------------
java.lang.UnsupportedClassVersionError: org/me/serverstatuschecker/ServerStatusChecker : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.defineClassHelper(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.access$100(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception: java.lang.UnsupportedClassVersionError: org/me/serverstatuschecker/ServerStatusChecker : Unsupported major.minor version 51.0
java.lang.UnsupportedClassVersionError: org/me/serverstatuschecker/ServerStatusChecker : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.defineClassHelper(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.access$100(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception: java.lang.UnsupportedClassVersionError: org/me/serverstatuschecker/ServerStatusChecker : Unsupported major.minor version 51.0
java.lang.UnsupportedClassVersionError: org/me/serverstatuschecker/ServerStatusChecker : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.defineClassHelper(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.access$100(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception: java.lang.UnsupportedClassVersionError: org/me/serverstatuschecker/ServerStatusChecker : Unsupported major.minor version 51.0
java.lang.UnsupportedClassVersionError: org/me/serverstatuschecker/ServerStatusChecker : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.defineClassHelper(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.access$100(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception: java.lang.UnsupportedClassVersionError: org/me/serverstatuschecker/ServerStatusChecker : Unsupported major.minor version 51.0
Directory Structure
theappletdir/
applet.html
ServerStatusChecker.jar
Content of applet.html
Then use the script supplied by Oracle to deploy applets and JWS apps. It is called deployJava.js and linked from the applet info. page. It will:
Check the minimum stated JRE version is available for use by applets.
If not, help the user to upgrade it.
Embed & run the applet.
<html>
<head>
<!-- ... -->
<script src="http://www.java.com/js/deployJava.js"></script>
</head>
<body>
<!-- ... -->
<script>
var attributes = {codebase:'.',
code:'org.me.serverstatuschecker.MyApplet',
archive:'ServerStatusChecker.jar',
width:200, height:200};
var parameters = {};
var version = '1.6'; // or whatever version the code was compiled for
deployJava.runApplet(attributes, parameters, version);
</script>
</body>
</html>
New Error
UnsupportedClassVersionError: org/me/serverstatuschecker/MyApplet :
Unsupported major.minor version 51.0
When I refer to the version number list it indicates the code is being compiled compatible for a 1.7 JRE, whereas the version attribute above indicates the code should be able to be loaded in any 1.6+ JRE. The best way to fix this is to use the source, target bootclasspath options when compiling the code. Specify the first 2 as 1.6 and the last as a path to a 1.6 version rt.jar.
Have you tried the HtmlConverter Tool?
http://java.sun.com/products/plugin/1.3/docs/htmlconv.html
It creates a HTML code that tries to load your applet properly with the Java Plugin.

Difference between the weblogic9.2 and 10.3 ? Is it possible to run the 9.2 working on 10.3?

I am having project running on weblogic10.3 , but i want to run on weblogic 9.2.what are the changes need to make on the jsp tags ?
what is the difference between the weblogic 10.3 and 9.2 ?
<Jan 31, 2011 5:24:36 PM EST> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal? _nfpb=true&_pageLabel=HomePage1.>
java.lang.NoClassDefFoundError: com/sun/mirror/declaration/ClassDeclaration
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at javelin.mirror.Utilities.createMirrorType(Utilities.java:68)
at javelin.mirror.Utilities.createReferenceType(Utilities.java:85)
at javelin.ProxySourceFile$ProxyEnv.getTypeDeclaration(ProxySourceFile.java:806)
at javelin.jsp.JspLibrary.getClassInfo(JspLibrary.java:1259)
at javelin.jsp.tag.TagInfoEx.getSetterTypes(TagInfoEx.java:491)
at javelin.jsp.tag.TagInfoEx.initAttributeTypes(TagInfoEx.java:397)
at javelin.jsp.JspActionChecker.checkActionStart(JspActionChecker.java:287)
at javelin.jsp.JspActionChecker.checkActions(JspActionChecker.java:217)
at javelin.jsp.JspActionChecker.checkActions(JspActionChecker.java:231)
at javelin.jsp.JspActionChecker.check(JspActionChecker.java:157)
at javelin.jsp.JspCheckContext.check(JspCheckContext.java:78)
at javelin.jsp.JspAnalyzer.check(JspAnalyzer.java:59)
at javelin.ProxySourceFile._check(ProxySourceFile.java:152)
at javelin.SourceFile.masterCheck(SourceFile.java:777)
at javelin.SourceFile.check(SourceFile.java:297)
at javelin.SourceFile.check(SourceFile.java:318)
at javelin.ProxySourceFile.codeGen(ProxySourceFile.java:222)
at javelin.SourceFile.codeGen(SourceFile.java:310)
at javelin.client.ClientUtilsImpl$CodeGenJob.run(ClientUtilsImpl.java:1105)
at javelin.client.Job.performJob(Job.java:81)
at javelin.client.ThreadPool$WorkerThread.run(ThreadPool.java:215)
java.lang.NoClassDefFoundError: com/sun/mirror/declaration/ClassDeclaration
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at javelin.mirror.Utilities.createMirrorType(Utilities.java:68)
at javelin.mirror.Utilities.createReferenceType(Utilities.java:85)
at javelin.ProxySourceFile$ProxyEnv.getTypeDeclaration(ProxySourceFile.java:806)
at javelin.jsp.JspLibrary.getClassInfo(JspLibrary.java:1259)
at javelin.jsp.tag.TagInfoEx.getSetterTypes(TagInfoEx.java:491)
at javelin.jsp.tag.TagInfoEx.initAttributeTypes(TagInfoEx.java:397)
at javelin.jsp.JspActionChecker.checkActionStart(JspActionChecker.java:287)
at javelin.jsp.JspActionChecker.checkActions(JspActionChecker.java:217)
at javelin.jsp.JspActionChecker.checkActions(JspActionChecker.java:231)
at javelin.jsp.JspActionChecker.check(JspActionChecker.java:157)
at javelin.jsp.JspCheckContext.check(JspCheckContext.java:78)
at javelin.jsp.JspAnalyzer.check(JspAnalyzer.java:59)
at javelin.ProxySourceFile._check(ProxySourceFile.java:152)
at javelin.SourceFile.masterCheck(SourceFile.java:777)
at javelin.SourceFile.check(SourceFile.java:297)
at javelin.SourceFile.check(SourceFile.java:318)
at javelin.ProxySourceFile.codeGen(ProxySourceFile.java:222)
at javelin.SourceFile.codeGen(SourceFile.java:310)
at javelin.client.ClientUtilsImpl$CodeGenJob.run(ClientUtilsImpl.java:1105)
at javelin.client.Job.performJob(Job.java:81)
at javelin.client.ThreadPool$WorkerThread.run(ThreadPool.java:215)
java.lang.NoClassDefFoundError: com/sun/mirror/declaration/ClassDeclaration
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at javelin.mirror.Utilities.createMirrorType(Utilities.java:68)
at javelin.mirror.Utilities.createReferenceType(Utilities.java:85)
at javelin.ProxySourceFile$ProxyEnv.getTypeDeclaration(ProxySourceFile.java:806)
at javelin.jsp.JspLibrary.getClassInfo(JspLibrary.java:1259)
at javelin.jsp.JspActionChecker.check(JspActionChecker.java:163)
at javelin.jsp.JspCheckContext.check(JspCheckContext.java:78)
at javelin.jsp.JspAnalyzer.check(JspAnalyzer.java:59)
at javelin.ProxySourceFile._check(ProxySourceFile.java:152)
at javelin.SourceFile.masterCheck(SourceFile.java:777)
at javelin.SourceFile.check(SourceFile.java:297)
at javelin.SourceFile.check(SourceFile.java:318)
at javelin.ProxySourceFile.codeGen(ProxySourceFile.java:222)
at javelin.SourceFile.codeGen(SourceFile.java:310)
at javelin.client.ClientUtilsImpl$CodeGenJob.run(ClientUtilsImpl.java:1105)
at javelin.client.Job.performJob(Job.java:81)
at javelin.client.ThreadPool$WorkerThread.run(ThreadPool.java:215)
java.lang.NoClassDefFoundError: com/sun/mirror/declaration/ClassDeclaration
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at javelin.mirror.Utilities.createMirrorType(Utilities.java:68)
at javelin.mirror.Utilities.createReferenceType(Utilities.java:85)
at javelin.ProxySourceFile$ProxyEnv.getTypeDeclaration(ProxySourceFile.java:806)
at javelin.jsp.JspLibrary.getClassInfo(JspLibrary.java:1259)
at javelin.jsp.JspScriptTransform.getHandlerInfo(JspScriptTransform.java:1524)
at javelin.jsp.JspScriptTransform.signActionAll(JspScriptTransform.java:590)
at javelin.jsp.JspScriptTransform.transformPage(JspScriptTransform.java:188)
at javelin.jsp.JspScriptTransform.<init>(JspScriptTransform.java:154)
at javelin.jsp.JspCheckContext.check(JspCheckContext.java:89)
at javelin.jsp.JspAnalyzer.check(JspAnalyzer.java:59)
at javelin.ProxySourceFile._check(ProxySourceFile.java:152)
at javelin.SourceFile.masterCheck(SourceFile.java:777)
at javelin.SourceFile.check(SourceFile.java:297)
at javelin.SourceFile.check(SourceFile.java:318)
at javelin.ProxySourceFile.codeGen(ProxySourceFile.java:222)
at javelin.SourceFile.codeGen(SourceFile.java:310)
at javelin.client.ClientUtilsImpl$CodeGenJob.run(ClientUtilsImpl.java:1105)
at javelin.client.Job.performJob(Job.java:81)
at javelin.client.ThreadPool$WorkerThread.run(ThreadPool.java:215)
java.lang.NoClassDefFoundError: com/sun/mirror/declaration/ClassDeclaration
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at javelin.mirror.Utilities.createMirrorType(Utilities.java:68)
at javelin.mirror.Utilities.createReferenceType(Utilities.java:85)
at javelin.ProxySourceFile$ProxyEnv.getTypeDeclaration(ProxySourceFile.java:806)
at javelin.jsp.JspLibrary.getClassInfo(JspLibrary.java:1259)
at javelin.jsp.JspScriptTransform.getHandlerInfo(JspScriptTransform.java:1524)
at javelin.jsp.JspScriptTransform.signActionAll(JspScriptTransform.java:590)
at javelin.jsp.JspScriptTransform.transformPage(JspScriptTransform.java:188)
at javelin.jsp.JspScriptTransform.<init>(JspScriptTransform.java:154)
at javelin.jsp.JspCheckContext.check(JspCheckContext.java:89)
at javelin.jsp.JspAnalyzer.check(JspAnalyzer.java:59)
at javelin.ProxySourceFile._check(ProxySourceFile.java:152)
at javelin.SourceFile.masterCheck(SourceFile.java:777)
at javelin.SourceFile.check(SourceFile.java:297)
at javelin.SourceFile.check(SourceFile.java:318)
at javelin.ProxySourceFile.codeGen(ProxySourceFile.java:222)
at javelin.SourceFile.codeGen(SourceFile.java:310)
at javelin.client.ClientUtilsImpl$CodeGenJob.run(ClientUtilsImpl.java:1105)
at javelin.client.Job.performJob(Job.java:81)
at javelin.client.ThreadPool$WorkerThread.run(ThreadPool.java:215)
java.lang.NoClassDefFoundError: com/sun/mirror/declaration/ClassDeclaration
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at javelin.mirror.Utilities.createMirrorType(Utilities.java:68)
at javelin.mirror.Utilities.createReferenceType(Utilities.java:85)
at javelin.ProxySourceFile$ProxyEnv.getTypeDeclaration(ProxySourceFile.java:806)
at javelin.jsp.JspLibrary.getClassInfo(JspLibrary.java:1259)
at javelin.jsp.JspScriptTransform.getHandlerInfo(JspScriptTransform.java:1524)
at javelin.jsp.JspScriptTransform.transformAction(JspScriptTransform.java:1185)
at javelin.jsp.JspScriptTransform.transformAll(JspScriptTransform.java:746)
at javelin.jsp.JspScriptTransform.transformPage(JspScriptTransform.java:195)
at javelin.jsp.JspScriptTransform.<init>(JspScriptTransform.java:154)
at javelin.jsp.JspCheckContext.check(JspCheckContext.java:89)
at javelin.jsp.JspAnalyzer.check(JspAnalyzer.java:59)
at javelin.ProxySourceFile._check(ProxySourceFile.java:152)
at javelin.SourceFile.masterCheck(SourceFile.java:777)
at javelin.SourceFile.check(SourceFile.java:297)
at javelin.SourceFile.check(SourceFile.java:318)
at javelin.ProxySourceFile.codeGen(ProxySourceFile.java:222)
at javelin.SourceFile.codeGen(SourceFile.java:310)
at javelin.client.ClientUtilsImpl$CodeGenJob.run(ClientUtilsImpl.java:1105)
at javelin.client.Job.performJob(Job.java:81)
at javelin.client.ThreadPool$WorkerThread.run(ThreadPool.java:215)
java.lang.NoClassDefFoundError: com/sun/mirror/declaration/ClassDeclaration
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at javelin.mirror.Utilities.createMirrorType(Utilities.java:68)
at javelin.mirror.Utilities.createReferenceType(Utilities.java:85)
at javelin.ProxySourceFile$ProxyEnv.getTypeDeclaration(ProxySourceFile.java:806)
at javelin.jsp.JspLibrary.getClassInfo(JspLibrary.java:1259)
at javelin.jsp.JspScriptTransform.getHandlerInfo(JspScriptTransform.java:1524)
at javelin.jsp.JspScriptTransform.transformAction(JspScriptTransform.java:1185)
at javelin.jsp.JspScriptTransform.transformAll(JspScriptTransform.java:746)
at javelin.jsp.JspScriptTransform.transformPage(JspScriptTransform.java:195)
at javelin.jsp.JspScriptTransform.<init>(JspScriptTransform.java:154)
at javelin.jsp.JspCheckContext.check(JspCheckContext.java:89)
at javelin.jsp.JspAnalyzer.check(JspAnalyzer.java:59)
at javelin.ProxySourceFile._check(ProxySourceFile.java:152)
at javelin.SourceFile.masterCheck(SourceFile.java:777)
at javelin.SourceFile.check(SourceFile.java:297)
at javelin.SourceFile.check(SourceFile.java:318)
at javelin.ProxySourceFile.codeGen(ProxySourceFile.java:222)
at javelin.SourceFile.codeGen(SourceFile.java:310)
at javelin.client.ClientUtilsImpl$CodeGenJob.run(ClientUtilsImpl.java:1105)
at javelin.client.Job.performJob(Job.java:81)
at javelin.client.ThreadPool$WorkerThread.run(ThreadPool.java:215)
java.lang.NoClassDefFoundError: com/sun/mirror/declaration/ClassDeclaration
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at javelin.mirror.Utilities.createMirrorType(Utilities.java:68)
at javelin.mirror.Utilities.createReferenceType(Utilities.java:85)
at javelin.ProxySourceFile$ProxyEnv.getTypeDeclaration(ProxySourceFile.java:806)
at javelin.jsp.JspLibrary.getClassInfo(JspLibrary.java:1259)
at javelin.jsp.JspScriptTransform.getHandlerInfo(JspScriptTransform.java:1524)
at javelin.jsp.JspScriptTransform.transformAction(JspScriptTransform.java:1185)
at javelin.jsp.JspScriptTransform.transformRemainActions(JspScriptTransform.java:725)
at javelin.jsp.JspScriptTransform.transformPage(JspScriptTransform.java:217)
at javelin.jsp.JspScriptTransform.<init>(JspScriptTransform.java:154)
at javelin.jsp.JspCheckContext.check(JspCheckContext.java:89)
at javelin.jsp.JspAnalyzer.check(JspAnalyzer.java:59)
at javelin.ProxySourceFile._check(ProxySourceFile.java:152)
at javelin.SourceFile.masterCheck(SourceFile.java:777)
at javelin.SourceFile.check(SourceFile.java:297)
at javelin.SourceFile.check(SourceFile.java:318)
at javelin.ProxySourceFile.codeGen(ProxySourceFile.java:222)
at javelin.SourceFile.codeGen(SourceFile.java:310)
at javelin.client.ClientUtilsImpl$CodeGenJob.run(ClientUtilsImpl.java:1105)
at javelin.client.Job.performJob(Job.java:81)
at javelin.client.ThreadPool$WorkerThread.run(ThreadPool.java:215)
java.lang.NoClassDefFoundError: com/sun/mirror/declaration/ClassDeclaration
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at javelin.mirror.Utilities.createMirrorType(Utilities.java:68)
at javelin.mirror.Utilities.createReferenceType(Utilities.java:85)
at javelin.ProxySourceFile$ProxyEnv.getTypeDeclaration(ProxySourceFile.java:806)
at javelin.jsp.JspLibrary.getClassInfo(JspLibrary.java:1259)
at javelin.jsp.JspScriptTransform.getHandlerInfo(JspScriptTransform.java:1524)
at javelin.jsp.JspScriptTransform.transformAction(JspScriptTransform.java:1185)
at <Console encountered the following error Exception during RequestDispatcher.include().
Throwable: weblogic.servlet.jsp.CompilationException: Failed to compile JSP /layouts/tableBaseLayout_netui.jsp
tableBaseLayout_netui.jsp:1:1: The superclass specified could not be resolved.
<%# page language="java" %>
^-------------------------^
tableBaseLayout_netui.jsp:16:14: The tag handler class was not found "org.apache.beehive.netui.tags.template.IncludeSection".
<beehive-template:includeSection name="configAreaIntroduction"/><br/>
^-----------------------------^
tableBaseLayout_netui.jsp:16:14: The tag handler class was not found "org.apache.beehive.netui.tags.template.IncludeSection".
<beehive-template:includeSection name="configAreaIntroduction"/><br/>
^-----------------------------^
tableBaseLayout_netui.jsp:22:14: The tag handler class was not found "org.apache.beehive.netui.tags.template.IncludeSection".
<beehive-template:includeSection name="table"/>
^-----------------------------^
tableBaseLayout_netui.jsp:22:14: The tag handler class was not found "org.apache.beehive.netui.tags.template.IncludeSection".
<beehive-template:includeSection name="table"/>
^-----------------------------^
Stack Trace:
weblogic.servlet.jsp.CompilationException: Failed to compile JSP /layouts/tableBaseLayout_netui.jsp
tableBaseLayout_netui.jsp:1:1: The superclass specified could not be resolved.
%# page language="java" %>
^-------------------------^
tableBaseLayout_netui.jsp:16:14: The tag handler class was not found "org.apache.beehive.netui.tags.template.IncludeSection".
Best to look at the changelog:
http://download.oracle.com/docs/cd/E15051_01/wls/docs103/upgrade/compat.html
and
http://download.oracle.com/docs/cd/E12840_01/wls/docs103/notes/new.html
If you're using EJB 3, it won't run on version 9.
WebLogic will allow you to be backwards compatible, but forward compatibility is not guaranteed.

Categories

Resources