Cannot start the COMPS application. ClassNotFoundException

I am learning COMPS. So far, everything has been working very well, but I just followed the examples in the manual.

Now that I want to run my own test application, I cannot get it to work. Something is missing me, but I do not see what I am doing wrong.

My application is called App and has a main class application and an interface in another class called AppItf. When I try to run it using runcompss:

runcompss -d -classpath = $ PWD / App.jar App

I get the following message:

Using the default location for the project file: /opt/COMPSs/Runtime/scripts/user/../../configuration/xml/projects/project.xml Using the default location for the resource file: / Opt / COMPSs / execution / scripts / user /../../ configuration / xml / resources / resources.xml

----------------- Application execution --------------------------

[Loader] - When loading or executing an expression. java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0 (native method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorplleccessplpl.accessorplleccessplpl java.lang.reflect.Method.invoke (Method.java:606) at integtoolkit.loader.ITAppLoader.load (ITAppLoader.java:54) at integrtoolkit.loader.ITAppLoader.main (ITAppLoader.java:84) Caused by: java .lang.ClassNotFoundException: AppItf on java.net.URLClassLoader $ 1.run (URLClassLoader.javahaps66) on java.net.URLClassLoader $ 1.run (URLClassLoader.javahaps55) in java.security.AccessController.doPrivileged (native method) at java.net.URLClassLoader.findClass (URLClassLoader.javahaps54) at java.lang.ClassLoader.loadClass (ClassLoader.java:425) at sun.misc.Launcher $ AppClassLoader.l oadClass (Launcher.java:308) in java.lang.ClassLoader.loadClass (ClassLoader.javahaps58) at integtoolkit.loader.CustomLoader.loadClass (CustomLoader.java:56) in java.lang.Class.forName0 (native method) in java.lang.Class.forName (class .java: 195) at integtoolkit.loader.total.ITAppModifier.modify (ITAppModifier.java:46) ... 6 more

Error starting application

Can someone help me find what I'm doing wrong?

Thank you in advance!

+8
java hpc distributed-computing compss
source share
1 answer

In the runcompss command, you must specify the fully qualified domain name of the class. So, if this class has a package, you must add the package to the class name. Currently missing.

+5
source share

All Articles