"NoSuchMethodError" "org.eclipse.wst.server.core.internal.Trace.trace"?

Hello,
I'm encountering the following when publishing to WebLogic Server via Eclipse with the Enterprise Pack installed. Thanks for any help!
!ENTRY org.eclipse.core.jobs 4 2 2011-05-23 09:11:52.563
!MESSAGE An internal error occurred during: "Publishing to Oracle WebLogic Server 11gR1 PatchSet 4 at localhost [voodoo]...".
!STACK 0
java.lang.NoSuchMethodError: org.eclipse.wst.server.core.internal.Trace.trace(ILjava/lang/String;)V
     at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishOnce(WeblogicServerBehaviour.java:647)
     at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publish(WeblogicServerBehaviour.java:531)
     at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:775)
     at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:3046)
     at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:341)
     at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
This excerpt is from the Eclipse log.
It's interesting to note that I have no applications deployed to this domain - The result is the same if I attempt to add a simple test application.
I've used this on my Windows XP workstation for some time. This is my first attempt on my Mac!
Mac OS X 10.6.7
Java 1.6.0_24
Eclipse Helios SR2
"Fresh" installations of Eclipse and WebLogic
The latest Eclipse & Oracle Enterprise pack updates
WebLogic starts normally via the shell

Hi,
I was able to reproduce the issue you are seeing. This issue is caused by the fact that there is a new version of org.eclipse.wst.server.core_1.1.207.v20110401_1511.jar which is newer than the version which was shipped with Eclipse JEE SR2 bundle.
The Helios JEE SR2 installers at http://eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/heliossr2 contain the following version org.eclipse.wst.server.core_1.1.206.v20110110_p001.jar.
In your case when you tried with Helios GA and the OEPE update site , I presume you had the "Contact all update site during install to find required software" checked which updated your eclipse installation with the latest 207 version.
There are a couple of options to workaround this issue:
1) download and install all-in-one OEPE kits from http://www.oracle.com/technetwork/developer-tools/eclipse/downloads/oepe-111172-360027.html
2) install eclipse JEE SR2 and install OEPE from the following update site http://download.oracle.com/otn_software/oepe/helios but make sure that the "Contact all update site during install to find required software" option is unchecked.
hope this helps. Please confirm if this resolves the issue.
thanks
Raj
Edited by: Raj Alagumalai on May 25, 2011 3:41 PM

Similar Messages

  • Starting org.eclipse.wst.jsdt.ui plug in

    Hello
    I would like to know how is this org.eclipse.wst.jsdt.ui plug in being activated during eclipse initialization whenever there is already a project with this org.eclipse.wst.jsdt.core.jsNature nature existing in the workspace. A short explanation or direction to specific documentation topic would be perfect .
    Thanks in advance !!

    Naushin,
    Could you please paste your code here so that we can understand the details.
    cheers,
    Saurav

  • Org.eclipse.core.runtime.CoreException

    Hi ,
    while publishing appication throrugh weblogic10.3 workshop i am getting below error.Please help me in this regard.
    Thanks
    Narasimha sastry
    org.eclipse.core.runtime.CoreException: This launch configuration is invalid and may be out of sync with the workspace
    at org.eclipse.wst.server.ui.internal.actions.RunOnServerLaunchConfigurationDelegate.launch(RunOnServerLaunchConfigurationDelegate.java:87)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:759)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:608)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:601)
    at org.eclipse.wst.server.ui.internal.actions.RunOnServerActionDelegate.run(RunOnServerActionDelegate.java:328)
    at org.eclipse.wst.server.ui.internal.actions.RunOnServerActionDelegate.run(RunOnServerActionDelegate.java:659)
    at org.eclipse.wst.server.ui.internal.ServerLaunchShortcut.launch(ServerLaunchShortcut.java:39)
    at org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension.launch(LaunchShortcutExtension.java:429)
    at org.eclipse.debug.internal.ui.actions.LaunchShortcutAction.run(LaunchShortcutAction.java:66)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3687)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3298)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
    at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
    at org.eclipse.equinox.launcher.Main.eclipse_main(Main.java:1148)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.m7.installer.util.NitroxMain$1.run(NitroxMain.java:33)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

    Hi Narasimha,
    Can you put the workshop log file here
    I feel that there is problem in the annotation-manifest.xml
    please check it again.
    Regards,
    Kal.

  • Unbound classpath container: 'org.eclipse.jst.j2ee.internal.web.container'.

    I am arun
    I installed netweaver 7.0.1
    it is,having jdk1.5 ,tomcat 4.0 plugin
    I am trying to import the project(jdk 1.5 tomcat 5.5 developed in eclipse)_ into netviewer it is showing following error
    can any one help me on this
    Unbound classpath container: 'org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Apache Tomcat v5.5 (2)'.
    Unbound classpath container: 'org.eclipse.jst.j2ee.internal.web.container'.

    Not sure what netweaver is, but it looks like you are missing the latest JST package that contains support for Apache 5.5. Try updating your Eclipse install and get the latest compatible JST.
    -Raj

  • Org.eclipse.virgo.util.io.FatalIOException when deploying to local server

    Hi,
    i get the following error a lot when deploying an app to a local test server. (Neo SDK 2.3.1)
    [2013-03-15 10:37:04.439] fs-watcher                   <DE0017E> Failed to update web bundle 'shall-we' version '0.0.0'. See the logs for more information. org.eclipse.virgo.util.io.FatalIOException: Content of destination path '.\webapps\shall-we' cannot be removed
              at org.eclipse.virgo.util.io.ZipUtils.determineFinalUnzipDestination(ZipUtils.java:243)
              at org.eclipse.virgo.util.io.ZipUtils.unzipToFolder(ZipUtils.java:159)
              at org.eclipse.virgo.util.io.ZipUtils.unzipToDestructive(ZipUtils.java:81)
              at org.eclipse.virgo.util.io.JarUtils.unpackToDestructive(JarUtils.java:58)
              at org.eclipse.virgo.web.war.deployer.WARDeployer.update(WARDeployer.java:352)
              at org.eclipse.virgo.nano.deployer.internal.StandardApplicationDeployer.deploy(StandardApplicationDeployer.java:98)
              at org.eclipse.virgo.nano.deployer.internal.StandardApplicationDeployer.deploy(StandardApplicationDeployer.java:191)
              at org.eclipse.virgo.nano.deployer.hot.HotDeploymentFileSystemListener.deploy(HotDeployerFileSystemListener.java:225)
              at org.eclipse.virgo.nano.deployer.hot.HotDeploymentFileSystemListener.onChange(HotDeployerFileSystemListener.java:82)
              at org.eclipse.virgo.util.io.FileSystemChecker.notifyListeners(FileSystemChecker.java:373)
              at org.eclipse.virgo.util.io.FileSystemChecker.check(FileSystemChecker.java:282)
              at org.eclipse.virgo.nano.deployer.hot.WatchTask.run(WatchTask.java:48)
              at java.lang.Thread.run(Thread.java:722)
    My current workaround is to restart the server. However this is really annoying.... Is this a known issue?
    Best regards,
    Fabian

    Hi Vlado,
    thanks for your support.
    From a first test it looks like this new version solves the problem along with JDK7
    Just let me add, for those using maven, in order to exclude jaxb-impl from deployment, you just need to add the following dependency to you pom.xml
    <dependency>
         <groupId>com.sun.xml.bind</groupId> 
         <artifactId>jaxb-impl</artifactId> 
         <version>2.2.6</version> 
         <scope>provided</scope> 
    </dependency>
    This will tell maven to not bundle jaxb-impl into the lib folder as it's offered by JDK7
    Of course you have JAVA_HOME set to JDK7 home so that the local cloud server picks up the JDK7 libs
    Thanks a lot
    Vincenzo

  • Org.eclipse.jdt.launching.localJavaApplication Error

    I was developing nicely on Web Sphere Studio Developer Version=5.1.0
    (with eclipse Release 2.1.1) but I just started getting the error "No
    Tab group defined for launch application type/n
    org.eclipse.jdt.launching.localJavaApplication" when trying to run or
    debug. I was trying to parse&validate an XML file and getting a log of
    the Parsing errors.This might have done something. However, it was
    working before..Any ideas before deleting and reloading Eclipse?
    Cigdem Savaseri-Brackmann

    Hi Stephan,
    thank you for your fast answer, I have started with --debug and noticed the following message:
    Resolving dependencies of MavenProject: de.openknowledge.migrationtool:de.openknowledge.migrationtool:1.0.0-SNAPSHOT @ /Users/OleyMa/vcs/sourcemigration/de.openknowledge.migrationtool/pom.xml
    [DEBUG] No solution found because the problem is unsatisfiable.: [Unable to satisfy dependency from de.openknowledge.migrationtool 1.0.0.qualifier to bundle org.eclipse.jdt.launching.macosx 0.0.0.; Unable to satisfy dependency from org.eclipse.jdt.core 3.11.0.v_OTDT_r240_201506091717 to org.eclipse.objectteams.otdt.core.patch.feature.group [2.0.0,3.0.0).; No solution found because the problem is unsatisfiable.]
    [INFO] {osgi.os=linux, osgi.ws=gtk, org.eclipse.update.install.features=true, osgi.arch=x86_64}
    [ERROR] Cannot resolve project dependencies:
    Is the dependency to org.eclipse.objectteams.otdt.core.path.feature.group
    the problem? This is a feature which I do not know at all.
    Can you please give me a hint?
    Thanks in advance
    Markus

  • Org.eclipse.core.runtime.CoreException: Text editor does not have a documen

    Hi all,
    strangely on most hprof-files while opening them as snapshot
    I get a org.eclipse.core.runtime.CoreException (see below the stack trace).
    This happens indipendently if launching MemoryAnalyzer as standalone (MemoryAnalyzer.sh)
    or within my Eclipse SDK platform (Version: 3.3.2).
    It seems to depend of the hprof-files itself, if the error raises or not.
    For example the HeapDumpSamples from the snapshots dir are not affect to this problem,
    maybe the size of the dumpfile is deterministic ? Any help or hint is welcome, thanks.
    org.eclipse.core.runtime.CoreException: Text editor does not have a document provider
         at org.eclipse.ui.texteditor.AbstractTextEditor.doSetInput(AbstractTextEditor.java:3947)
         at org.eclipse.ui.texteditor.StatusTextEditor.doSetInput(StatusTextEditor.java:190)
         at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.doSetInput(AbstractDecoratedTextEditor.java:1225)
         at org.eclipse.ui.editors.text.TextEditor.doSetInput(TextEditor.java:168)
         at org.eclipse.ui.texteditor.AbstractTextEditor$19.run(AbstractTextEditor.java:3003)
         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
         at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:758)
         at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
         at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:755)
         at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2451)
         at org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEditor.java:3021)
         at org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.java:3048)
         at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:794)
         at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:643)
         at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:426)
         at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:592)
         at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:263)
         at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2739)
         at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2651)
         at org.eclipse.ui.internal.WorkbenchPage.access$13(WorkbenchPage.java:2643)
         at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2595)
         at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
         at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2590)
         at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2574)
         at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2557)
         at com.sap.tools.memory.ui.core.actions.OpenSnapshotAction$1.visit(OpenSnapshotAction.java:68)
         at com.sap.tools.memory.ui.core.actions.OpenSnapshot$Visitor.go(OpenSnapshot.java:78)
         at com.sap.tools.memory.ui.core.actions.OpenSnapshotAction.run(OpenSnapshotAction.java:57)
         at com.sap.tools.memory.ui.core.actions.OpenSnapshotAction.run(OpenSnapshotAction.java:52)
         at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:256)
         at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3319)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971)
         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    Hi Guenther,
    I have a guess...
    The Memory Analyzer is implemented as an Eclipse editor. That means, Eclipse decides based on the extension what editor to open. We have registered the editor for the hprof extension.
    Sometimes, heap dumps end with the timestamp, like java_pid282.hprof.200804031745. If you use "Open Heap Dump" then we will try to rename the file. If you use "Open File", it will try to open the heap dump with the default editor as it doesn't know the 200804xxx extension. The default editor is the text editor and that will not work. So the work-around is renaming the file.
    Kind regards,
      - Andreas.

  • Warning: Supported source version 'RELEASE_6' from annotation processor 'org.eclipse.persistence.internal.jpa.modelgen.CanonicalModelProcessor' less than -source '1.7'

    warning: Supported source version 'RELEASE_6' from annotation processor 'org.eclipse.persistence.internal.jpa.modelgen.CanonicalModelProcessor' less than -source '1.7'
    Note: Creating static metadata factory ...
    An annotation processor threw an uncaught exception.
    Consult the following stack trace for details.
    java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file javax/persistence/PersistenceException
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:455)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:367)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        at java.lang.Class.getDeclaredFields0(Native Method)
        at java.lang.Class.privateGetDeclaredFields(Class.java:2570)
        at java.lang.Class.getDeclaredField(Class.java:2055)
        at org.eclipse.persistence.internal.security.PrivilegedAccessHelper.findDeclaredField(PrivilegedAccessHelper.java:67)
        at org.eclipse.persistence.internal.security.PrivilegedAccessHelper.getField(PrivilegedAccessHelper.java:223)
        at org.eclipse.persistence.internal.helper.Helper.getField(Helper.java:980)
        at org.eclipse.persistence.internal.descriptors.InstanceVariableAttributeAccessor.initializeAttributes(InstanceVariableAttributeAccessor.java:100)
        at org.eclipse.persistence.mappings.DatabaseMapping.preInitialize(DatabaseMapping.java:1455)
        at org.eclipse.persistence.mappings.foundation.AbstractDirectMapping.preInitialize(AbstractDirectMapping.java:913)
        at org.eclipse.persistence.oxm.mappings.XMLDirectMapping.preInitialize(XMLDirectMapping.java:439)
        at org.eclipse.persistence.oxm.XMLDescriptor.preInitialize(XMLDescriptor.java:559)
        at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.initializeDescriptors(DatabaseSessionImpl.java:649)
        at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.initializeDescriptors(DatabaseSessionImpl.java:632)
        at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.initializeDescriptors(DatabaseSessionImpl.java:568)
        at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.postConnectDatasource(DatabaseSessionImpl.java:799)
        at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.login(DatabaseSessionImpl.java:756)
        at org.eclipse.persistence.oxm.XMLContext$XMLContextState.setupSession(XMLContext.java:738)
        at org.eclipse.persistence.oxm.XMLContext$XMLContextState.setupSession(XMLContext.java:1)
        at org.eclipse.persistence.internal.oxm.Context$ContextState.<init>(Context.java:86)
        at org.eclipse.persistence.oxm.XMLContext$XMLContextState.<init>(XMLContext.java:702)
        at org.eclipse.persistence.oxm.XMLContext.<init>(XMLContext.java:192)
        at org.eclipse.persistence.oxm.XMLContext.<init>(XMLContext.java:164)
        at org.eclipse.persistence.oxm.XMLContext.<init>(XMLContext.java:154)
        at org.eclipse.persistence.internal.jpa.modelgen.objects.PersistenceXMLMappings.createXMLContext(PersistenceXMLMappings.java:139)
        at org.eclipse.persistence.internal.jpa.modelgen.objects.PersistenceXMLMappings.createXML2_1Context(PersistenceXMLMappings.java:123)
        at org.eclipse.persistence.internal.jpa.modelgen.objects.PersistenceUnitReader.initPersistenceUnits(PersistenceUnitReader.java:178)
        at org.eclipse.persistence.internal.jpa.modelgen.objects.PersistenceUnitReader.<init>(PersistenceUnitReader.java:72)
        at org.eclipse.persistence.internal.jpa.modelgen.CanonicalModelProcessor.process(CanonicalModelProcessor.java:376)
        at com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:794)
        at com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:705)
        at com.sun.tools.javac.processing.JavacProcessingEnvironment.access$1800(JavacProcessingEnvironment.java:91)
        at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1035)
        at com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1176)
        at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1173)
        at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:859)
        at com.sun.tools.javac.main.Main.compile(Main.java:523)
        at com.sun.tools.javac.main.Main.compile(Main.java:381)..................
    I'm an undergraduate student in software engineering. I worked with EE and tried to built a EJB Application. It worked. But when i connected it to database using persistence it getting error as mentioned.
    When i change my source Binary Format to jdk6 it runs without errors. What can i do for this without downgrading jdk version?

    I resolved my problem. The issue was the version of EclipseLink that I had specified in my pom.xml. Version 2.0.1 has an issue with the meta-model generation and, in fact, I wanted to be using version 2.1.1. Once I changed to 2.1.1 everything compiled correctly.
    Just make certain that you include the correct EclipseLink repository.
    <repository>
    <id>EclipseLink Repo</id>
    <name>EclipseLink Repository for the JPA implementation</name>
    <url>http://www.eclipse.org/downloads/download.php?r=1&amp;nf=1&amp;file=/rt/eclipselink/maven.repo</url>
    </repository>

  • Java.io.InvalidClassException: org.eclipse.persistence.internal.indirection.DatabaseValueHolder; local class incompatible: stream classdesc serialVersionUID = -6893195210780291759, local class serialVersionUID = 1128857921468654749

    Hi,
    I recently create a webservice application.
    It work fine when the server is implemented as java application. But when rewritten as web application( *.war),  the deploiement work on WLS.
    However it throws java.io.InvalidClassException: org.eclipse.persistence.internal.indirection.DatabaseValueHolder; local class incompatible: stream classdesc serialVersionUID = -6893195210780291759, local class serialVersionUID = 1128857921468654749 error when the client start consumming the web service methods.
    I add both eclipselink-javax.persistence-2.0.jar and eclipselink-2.0.2.jar(which are also used in the server side) in $WL_HOME/wlserver_10.3/common/deployable-libraries, that doesn't solve the problem yet.
    Any help will be appreciated, cheers.

    Abenk,
    This looks like a serial version mismatch due to multiple Eclipselink.jar files. Check if you have any under server/internal/ext folder.
    What are you putting in your classpath? Is there a "jrf.jar" and is it getting picked up first? Does this Jrf.jar have an entry of Eclipselink jar?
    Try to check the classpath of the jars used by Weblogic and remove any redundant Eclipselink/Toplink jars.
    What is the complete version of your Weblogic Server ?

  • .log file in .metadata shows plugin "org.eclipse.core.runtime" error

    IDE 2.07  cannot restart.
    Suddenly I cannot restart my developer studio 2.07. The .log file in .metadata directory shows:
    !SESSION Sep 14, 2004 05:48:05.972 -
    java.version=1.4.2_04-er
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Command-line arguments: -os win32 -ws win32 -arch x86 -feature com.sap.java.ide -data C:\Documents and Settings\All Users\Documents\SAP\WorkSpace -install file:C:/Program Files/SAP/JDT/eclipse/
    !ENTRY org.eclipse.core.runtime 4 2 Sep 14, 2004 05:48:05.992
    !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.runtime".
    !STACK 0
    My J2ee engine & WebDynpro admin &  sdm work.
    What is the best solution to fix this problem without having to reload netweaver?

    Hello Peter,
    you should try to find more information about the error. In Error Message: Unable to restore Web Dynpro Explorer I already described how to find more information about DevStudio errors.
    As you already are aware of the .log file, only the described third way (-consolelog) might help.
    Good luck + Kind Regards, Frank

  • Org.eclipse.jdt.core.JDTCompilerAdapter class Notfound error In eclipse ant

    hi this is my ant build.xml file
    my eclipse ver : 3.3.0
    when i try to run this build file i am getting the error repeatedly
    please some one solve my problem i am unable find solution on eclipse
    forum site please help me
    thank you
    <?xml version = "1.0" encoding = "UTF-8" ?>
    <project name = "AntPractice" default = "Main Build" basedir=".">
         <property name="bin" location="bin"/>
         <property name="src" location="src"/>
         <property name="jardir" location="${bin}/lib"/>
         <property name="jarfile" location="${jardir}/AntPractice.jar"/>
         <property name="build.compiler"      value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
        <target name="Main Build" depends="Initialize, compile, jar">
              <echo message = "Ant At Work!" />
        </target>
        <target name="Initialize">
             <delete dir = "${bin}" />
             <delete dir = "${jardir}" />
             <mkdir dir="${bin}"/>
             <mkdir dir="${jardir}"/>           
        </target>         
        <target name="compile" depends="Initialize">
             <javac srcdir="${src}" destdir="${bin}">
             </javac>
        </target>   
        <target name="jar" depends="Initialize, compile" >
              <jar destfile="${jarfile}" basedir="${bin}" />
        </target>
    </project>
    my run output is:
    Buildfile: G:\eclipse installation dir\shiva eclipse workspace\AntPractice\build.xml
    Initialize:
    [delete] Deleting directory G:\eclipse installation dir\shiva eclipse workspace\AntPractice\bin
    [mkdir] Created dir: G:\eclipse installation dir\shiva eclipse workspace\AntPractice\bin
    [mkdir] Created dir: G:\eclipse installation dir\shiva eclipse workspace\AntPractice\bin\lib
    compile:
    [javac] Compiling 1 source file to G:\eclipse installation dir\shiva eclipse workspace\AntPractice\bin
    BUILD FAILED
    G:\eclipse installation dir\shiva eclipse workspace\AntPractice\build.xml:25: Class not found: org.eclipse.jdt.core.JDTCompilerAdapter
    Total time: 922 milliseconds
    please don't tell see in eclipse or other site
    i am unable to find solution there
    if needed i ll mail my small first AntProject ZIP file its just 2KB
    thanx in advance
    shiva_forums
    @ yahoo
    .co
    .uk

    hi Mr.Anderson
    Thank you very much for reply
    it's working if i remove that line from build.xml Ant build file
    <property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>but in eclipse documentation, books & forums also specified to write that line
    what are the consequences for writing or removing that line.
    any how once again Thank you very much for ur Answer
    with regards
    Shiva

  • The selected wizard could not be started  Reason:org/eclipse/jdt/core/IJava

    Hi
    i am a newbie to Eclipse plugin , i have used org.eclipse.jdt.core package classes(IJavaElement,ICompliationUnit)
    for my developement . In Standalone ( as a Eclipse application ) My code is working its generating required java files
    I export my plugin project and created a plugin folder. And copied the folder into eclipse/plugins folder
    Now if i open the Wizard. wizard opens with a alert saying
    " The selected wizard could not be started Reason:org/eclipse/jdt/core/IJavaElement "
    what will be problem
    i am using eclipse3.1 and JDK 5.0
    plugin.xml i have used the follwing requires tag
    <requires>
    <import plugin="org.eclipse.ui"/>
    <import plugin="org.eclipse.core.runtime"/>
    <import plugin="org.eclipse.core.resources"/>
    <import plugin="org.eclipse.ui.ide"/>
         <import plugin = "org.eclipse.jdt.ui"/>
         <import plugin = "org.eclipse.jdt.core"/>
         <import plugin = "org.eclipse.jdt.launching"/>
         <import plugin = "org.eclipse.jdt.debug"/>     
    </requires>
    Regards
    Ganesan S

    Please disregard. Reinstalling seems to have solved this
    issue.

  • Java.io.InvalidClassException: org.eclipse.persistence.internal.helper.DatabaseTable

    Hello im using weblogic 10.3.5 and jpa 2, but i cant make that my project works coz i have this issue....
    56177847, local class serialVersionUID = -8219935847209476671 java.io.InvalidClassException: org.eclipse.persistence.internal.helper.DatabaseTable; local class incompatible: stream classdesc serialVersionUID = 740837816705
    Can somebody help me please?
    Thanks.

    Just a guess because there is so little information given but perhaps you are attempting to deserialize a class that should not have been serialized in the first place.

  • Dependancy Issues - requires 'bundle org.eclipse.core.runtime [3.2.0,4.0.0)'

    I am trying to install dtp_1.10.2 into an eclipse 4.2.2 install. I am sure I previously had this working. Now when I go back to my script to get it working the install of the package just fails. Below is a copy of the error I am seeing.
    I have also tried 1.12.0 which is stated to be compatible with eclipse 4.2.2 but it also gives the same issue.
    C:\Users\xxxxxxx\Downloads\eclipse-4.2.2\eclipsec.exe -nosplash -application org.eclipse.equinox.p2.director -rep
    ository file:C:\Users\ xxxxxxx\Downloads\dtp_1.10.2 -installIU org.eclipse.datatools.connectivity.feature.feature.group -destination C:\User
    s\xxxxxxx\Downloads\eclipse-4.2.2-BASE -p2.os win64 -p2.ws win64 -p2.arch x86 -tag BasePackage -profile SDKProfile
    Installing org.eclipse.datatools.connectivity.feature.feature.group 1.10.2.v201209181447-7C7h9DEt1bxqP9criVgb9XdVJxM.
    Installation failed.
    Cannot complete the install because one or more required items could not be found.
    Software being installed: Data Tools Platform Connectivity 1.10.2.v201209181447-7C7h9DEt1bxqP9criVgb9XdVJxM (org.eclipse.datatools.connecti
    vity.feature.feature.group 1.10.2.v201209181447-7C7h9DEt1bxqP9criVgb9XdVJxM)
    Missing requirement: Data Tools Platform Connectivity Plug-in 1.2.7.v201302060508 (org.eclipse.datatools.connectivity 1.2.7.v201302060508)
    requires 'bundle org.eclipse.core.runtime [3.2.0,4.0.0)' but it could not be found
    Cannot satisfy dependency:
    From: Data Tools Platform Connectivity 1.10.2.v201209181447-7C7h9DEt1bxqP9criVgb9XdVJxM (org.eclipse.datatools.connectivity.feature.featur
    e.group 1.10.2.v201209181447-7C7h9DEt1bxqP9criVgb9XdVJxM)
    To: org.eclipse.datatools.connectivity [1.2.7.v201302060508]
    Application failed, log file location: C:\Users\ xxxxxxx\Downloads\eclipse-4.2.2\configuration\1438095259128.log

    This is a java programming forum, not the eclipse help desk
    In any case, why don't you simply install the 3.2 runtime plug-in as instructed?!

  • Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".

    Hi experts,
    We are tryign to configure the server via sap as java in nwds 7.3 , and im getting the error as shown , not able to add the server  to my nwds .
    Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
    java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.lang.String
    at com.sap.sapmc.preference.Activator$2.propertyChange(Activator.java:107)
    at org.eclipse.ui.preferences.ScopedPreferenceStore$3.run(ScopedPreferenceStore.java:375)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.ui.preferences.ScopedPreferenceStore.firePropertyChangeEvent(ScopedPreferenceStore.java:372)
    at org.eclipse.ui.preferences.ScopedPreferenceStore.setValue(ScopedPreferenceStore.java:813)
    at com.sap.sapmc.preference.PreferencePageStorage.store(PreferencePageStorage.java:241)
    at com.sap.sapmc.preference.SAPSystemsPreferencePage.performOk(SAPSystemsPreferencePage.java:356)
    at org.eclipse.jface.preference.PreferenceDialog$13.run(PreferenceDialog.java:964)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.runtime.Platform.run(Platform.java:888)
    at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
    at org.eclipse.jface.preference.PreferenceDialog.okPressed(PreferenceDialog.java:944)
    at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.okPressed(FilteredPreferenceDialog.java:453)
    at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.okPressed(WorkbenchPreferenceDialog.java:169)
    at org.eclipse.jface.preference.PreferenceDialog.buttonPressed(PreferenceDialog.java:233)
    at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
    at org.eclipse.jface.window.Window.open(Window.java:801)
    at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.open(WorkbenchPreferenceDialog.java:211)
    at org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java:65)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
    Regards
    Govardan

    Hi Govardan,
    does this help to you?
    See the topmost entry at
    NWDS Troubleshooting - Java Development - SCN Wiki
    Regards,
    Ervin

Maybe you are looking for

  • TT12241: Backup stream protocol error

    Hi there, I get the following error when replicating TT 6.04 datastore: $ /data/TimesTen/6.04/bin/ttRepAdmin -duplicate -from UsageCollector -host NODE_B -setMasterRepStart -delXla -localhost NODE_A UsageCollector TT12241: Backup stream protocol erro

  • Itunes...freezing on my iPad2

    Every time I try to open itunes on my ipad ..it just freeze and inoperable but when I switch to a different application, ipad seems to function well. Previous to thsi I could open up itunes and search but after viewing my previous purchase and tried

  • Record should be repated with remaining value

    Hi, Can anyone tell me the logic ASAP, if the value is greater than 99, it should repeat the record with the remaining value. ex: result is 250, it should be split in 3 records, like the following: 1: 99 2: 99 3: 52 Thanks, Madhu

  • Adding ICT trunk and SIP trunk into Route group

    Hi , We need to map ICT and SIP trunk into the same route group  ,but the problem here is already same ICT is mapped to another route pattern. If i try to create new ICT with same remote IP ,it's throwing Add failed because the remote IP is already d

  • Problem deleting old iphoto library

    I am trying to delete some unneeded iphoto libraries and could use some assistance. I have located the uneeded libraries using command/open iphoto and they are in the previous system>users folder which was apparently imported when I transferred files