on 05-21-2014 6:52 PM
We have NWDI 7.0 with multiple JDKs supporting 7.3 and 7.0 tracks.
In CBS Visual Admin, we have default path set for JDK 1.4
But when we Create Project in NWDS for 7.0 track, we are getting Unsupported major.minor version 49.0 error.
Please help me how we can resolve this issue.
I am attaching the CBS Visual admin settings here.
Hi Ervin
I am able to resolve this issue.
I have deleted the track accidently.. and I was forced to create a new Track and added the SCs that were originally there for the track and imported all dependencies in the Transport Studio from Checkin , development , consolidation tabs and the Broken DCs issue is resolved.
And in NWDS 7.0, I am no more getting the Unsupported Major.minor version 49.0 issue..
I have not added any Build Variant. but still it is working fine.
Thanks for your inputs..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Your CBS settings (BUILD_TOOL_JDK_HOME and JDK_HOME_PATHS) seems to be fine to me.
J2SE 8 = 52,
J2SE 7 = 51,
J2SE 6.0 = 50,
J2SE 5.0 = 49,
JDK 1.4 = 48,
JDK 1.3 = 47,
JDK 1.2 = 46,
JDK 1.1 = 45
major.minor 49.0 is J2SE5.
Please double check the Build Variants tab of the Track.
Go to CMS -- Landscape Configurator -- Track Data -- select the track in question, click on tab Build Variants and check whether the "com.sap.jdk.home_path_key" available there points to JDK1.4.2_HOME
Regards,
Ervin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am using J2SDK 1.4.2
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)
The NWDS error:
com.sap.tc.devconf.BuildException: com/sap/tc/buildplugin/DefaultPlugin (Unsupported major.minor version 49.0)
at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1911)
at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:6004)
at com.sap.ide.eclipse.component.provider.actions.dc.DcCreateProjectAction.buildDCs(DcCreateProjectAction.java:1027)
at com.sap.ide.eclipse.component.provider.actions.dc.DcCreateProjectAction$1.execute(DcCreateProjectAction.java:299)
at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:71)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1595)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:85)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
Caused by: java.lang.UnsupportedClassVersionError: com/sap/tc/buildplugin/DefaultPlugin (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
at java.lang.ClassLoader.defineClass(ClassLoader.java:448)
at com.sap.tc.buildtool.PluginClassLoader.access$101(PluginClassLoader.java:28)
at com.sap.tc.buildtool.PluginClassLoader$1.run(PluginClassLoader.java:593)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.tc.buildtool.PluginClassLoader.findClass(PluginClassLoader.java:582)
at com.sap.tc.buildtool.PluginClassLoader.loadClass(PluginClassLoader.java:293)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at com.sap.tc.buildtool.JarHandler.loadClass(JarHandler.java:163)
at com.sap.tc.buildtool.v2.impl.PluginHandler2.getBuildPluginInstance(PluginHandler2.java:284)
at com.sap.tc.buildtool.v2.impl.PluginHandler2.loadAndInitBuildPlugin(PluginHandler2.java:153)
at com.sap.tc.buildtool.v2.impl.PluginHandler2.init(PluginHandler2.java:148)
at com.sap.tc.buildtool.PluginHandler2Wrapper.execute(PluginHandler2Wrapper.java:50)
at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1750)
... 7 more
Caused by:
java.lang.UnsupportedClassVersionError: com/sap/tc/buildplugin/DefaultPlugin (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
at java.lang.ClassLoader.defineClass(ClassLoader.java:448)
at com.sap.tc.buildtool.PluginClassLoader.access$101(PluginClassLoader.java:28)
at com.sap.tc.buildtool.PluginClassLoader$1.run(PluginClassLoader.java:593)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.tc.buildtool.PluginClassLoader.findClass(PluginClassLoader.java:582)
at com.sap.tc.buildtool.PluginClassLoader.loadClass(PluginClassLoader.java:293)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at com.sap.tc.buildtool.JarHandler.loadClass(JarHandler.java:163)
at com.sap.tc.buildtool.v2.impl.PluginHandler2.getBuildPluginInstance(PluginHandler2.java:284)
at com.sap.tc.buildtool.v2.impl.PluginHandler2.loadAndInitBuildPlugin(PluginHandler2.java:153)
at com.sap.tc.buildtool.v2.impl.PluginHandler2.init(PluginHandler2.java:148)
at com.sap.tc.buildtool.PluginHandler2Wrapper.execute(PluginHandler2Wrapper.java:50)
at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1750)
at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:6004)
at com.sap.ide.eclipse.component.provider.actions.dc.DcCreateProjectAction.buildDCs(DcCreateProjectAction.java:1027)
at com.sap.ide.eclipse.component.provider.actions.dc.DcCreateProjectAction$1.execute(DcCreateProjectAction.java:299)
at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:71)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1595)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:85)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
Even though I have set the Build Variant to JDK1.4.2_HOME, the CBS build log says the activity is when build using JDK1.6
CBS Build Error:
Build Plugin 'WebdynproPlugin', Version 7.30 SP 1 (NW731CORE_01_REL, built on 2011-09-17 17:11:55 +0200, CL155733)
development component: dc/xxx (xxx.com)
software component: SC-xx-xx(xxx.com)
location: xxxxxxxx
type: Web Dynpro
build variant: default
source location: http://xxxx:58600/dtr/ws/xx/xx.com_SC-xx-xx/dev/active/
output location: /usr/sap/DD6/JC86/j2ee/cluster/server0/temp/CBS/eb/.B/95869/DCs/xx.com/dc/xx/_comp/gen/default
generation folder: /usr/sap/DD6/JC86/j2ee/cluster/server0/temp/CBS/eb/.B/95869/x/xx
plugin start time: 2014-05-27 14:11:44 GMT
Java VM: IBM J9 VM, 2.4 (1.6, IBM Corporation)
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.