cancel
Showing results for 
Search instead for 
Did you mean: 

JSPM Error java.lang.NoClassDefFoundError

Former Member
0 Kudos

Hi All,

Trying to open JSPM for PI 7.11. Getting the following error:

./go

Current log directory is /usr/sap/XXX/DVEBMGS00/j2ee/JSPM/log/log_2016_08_25_01_42_09.

Exception in thread "main" java.lang.NoClassDefFoundError: com/sap/sdt/jspm/main/Jspm

Caused by: java.lang.ClassNotFoundException: com.sap.sdt.jspm.main.Jspm

        at java.net.URLClassLoader$1.run(URLClassLoader.java:253)

        at java.security.AccessController.doPrivileged(Native Method)

        at java.net.URLClassLoader.findClass(URLClassLoader.java:241)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:370)

        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:311)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:315)

Regards.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Can anyone suggest on step to step upgrade of SAPHOSTAGENT 7.21 SP17.

My SUM is giving error that I need to upgrade my SAPHOSTAGENT?

I am doing this for first time. Tried following 1031096 but not clear? Please suggest.

hemanth2
Product and Topic Expert
Product and Topic Expert
0 Kudos

Dear Ambarish,

Hope you are doing good.

You should not be using JSPM anymore. Please use SUM or any other tool mentioned in SAP Note 1715441.

https://support.sap.com/sltoolset

SAP Note No. 1563579: Central Release Note for Software Logistics Toolset 1.0

Hope this helps.

_ _ _ _ _ _ _ __ _ _

Kind Regards,

Hemanth

SAP Product Support

_ _ _ _ _ _ _ _ _ _ _

Join me online: http://scn.sap.com/people/hemanth.kumar/content

Former Member
0 Kudos

Hi Hemanth,

Earlier tried with SUM getting the following error:

Could not detect AS Java release. Return code condition success evaluated to false for process java for action ACTION_VERSION.

Checked for the logs: serv.err gives the following:

more server.err

Warning: validation was turned on but an org.xml.sax.ErrorHandler was not set, which is probably not what is desired.  Parser will use a default ErrorHandler to print t

he first 0  errors.  Please call the setErrorHandler method to fix this.

Error: URI=null Line=2: cvc-elt.1: Cannot find the declaration of element 'ExecServiceProtocol'.

fcldx103:dx3adm 70>

fcldx103:dx3adm 70> more server.err

Warning: validation was turned on but an org.xml.sax.ErrorHandler was not set, which is probably not what is desired.  Parser will use a default ErrorHandler to print t

he first 0  errors.  Please call the setErrorHandler method to fix this.

Error: URI=null Line=2: cvc-elt.1: Cannot find the declaration of element 'ExecServiceProtocol'.

hemanth2
Product and Topic Expert
Product and Topic Expert
0 Kudos

Dear Ambarish,

Hope you are doing good.

In that case you need to fix SUM; you will not get any support from SAP for JSPM.

If you want to just deploy 1-2 files, you can also use the telnet tool (see SAP Note 1715441).


Please see SAP Note  2205257 for the SUM detect AS java release issue.

Hope this helps.

_ _ _ _ _ _ _ __ _ _

Kind Regards,

Hemanth

Former Member
0 Kudos

Any suggestions for the above error?

former_member186851
Active Contributor
0 Kudos

Could be java version issue,check the below link

JAVA MAPPING LINKAGE_ERROR java.lang.NoClassDef... | SCN

Former Member
0 Kudos

I donot think so as this is the DEV system, where else Quality JSPM opens fine.

former_member186851
Active Contributor
0 Kudos

Are you facing this issue while accessing JAVA mapping?

Ensure both the systems are in same sp and same installations.

Former Member
0 Kudos

I am having issues in opening JSPM.

former_member186851
Active Contributor
0 Kudos

check the below notes and see if they are helpful

  • 1868308
  • 1711920
Former Member
0 Kudos

Thank you for the notes.

But none of it is related to the current issue.

Please find the JSPM.log

Starting JSPM bootstrap...

Aug 25, 2016 1:42:10 AM [Info]: Command line: -boot=unx -rootdir=/usr/sap/XXX/DVEBMGS00/j2ee/JSPM

Aug 25, 2016 1:42:10 AM [Info]: No new JSPM content found in directory /usr/sap/XXX/DVEBMGS00/j2ee/JSPM/deploy.

Aug 25, 2016 1:42:10 AM [Info]: Process ID 1, name cp has been started.

Aug 25, 2016 1:42:10 AM [Info]:   Command line: cp -pf /usr/sap/XXX/DVEBMGS00/j2ee/JSPM/config/BOOTSTRAP_UNX.XML /usr/sap/XXX/DVEBMGS00/j2ee/JSPM/config/BOOTSTRAP.xml

Aug 25, 2016 1:42:10 AM [Info]:   Standard out: /usr/sap/XXX/DVEBMGS00/j2ee/JSPM/tmp/Copy_01.OUT

Aug 25, 2016 1:42:10 AM [Info]: Process ID 1 has been started.

Aug 25, 2016 1:42:10 AM [Info]: Waiting for process ID 1, name cp to finish.

Aug 25, 2016 1:42:10 AM [Info]: Process ID 1, name cp has been finished, exit code 0.

Aug 25, 2016 1:42:10 AM [Info]: File /usr/sap/XXX/DVEBMGS00/j2ee/JSPM/config/BOOTSTRAP_UNX.XML has been copied to /usr/sap/XXX/DVEBMGS00/j2ee/JSPM/config/BOOTSTRAP.xml.

Aug 25, 2016 1:42:10 AM [Warning]: File /usr/sap/XXX/SYS/exe/jvm/linuxx86_64/sapjvm_5.1.109/sapjvmmanifest.mf not found.

Aug 25, 2016 1:42:10 AM [Warning]: No SAP JVM detected in /usr/sap/XXX/SYS/exe/jvm/linuxx86_64/sapjvm_5.1.109/sapjvm_5.

Aug 25, 2016 1:42:10 AM [Info]: Bootstrap will not launch JSPM process.

Aug 25, 2016 1:42:10 AM [Info]: JSPM bootstrap completed successfully.