I'v tried to run our Java application with the YAJSW and did everything like described. Unfortunately I keep getting this exception:
java.lang.IllegalAccessException: Class org.rzo.yajsw.app.WrapperJVMMain can not access a member of class *** with modifiers "public static"
What am I doing wrong?
hello,
please provide full details:
yajsw release, os, jvm
configuration file used (remove passwords or other private details if needed)
log file
if you are using code which invokes yajsw classes pls post it
-- Ron
Hi Ron,
Thank you for your fast response. Here are my files.
Best Regards,
Andreas
-----Ursprüngliche Nachricht-----
Von: rzo [mailto:rzorzorzo@users.sf.net]
Gesendet: Freitag, 15. Mai 2015 10:33
An: [yajsw:support-requests]
Betreff: [yajsw:support-requests] #18 java.lang.IllegalAccessException: can notaccess a member of class with modifiers "public static"
hello,
please provide full details:
yajsw release, os, jvm
configuration file used (remove passwords or other private details if needed) log file if you are using code which invokes yajsw classes pls post it
-- Ron
** [support-requests:#18] java.lang.IllegalAccessException: can not access a member of class with modifiers "public static"**
Status: open
Group: Any
Created: Fri May 15, 2015 07:01 AM UTC by ninshiichinoe Last Updated: Fri May 15, 2015 07:01 AM UTC
Owner: rzo
I'v tried to run our Java application with the YAJSW and did everything like described. Unfortunately I keep getting this exception:
java.lang.IllegalAccessException: Class org.rzo.yajsw.app.WrapperJVMMain can not access a member of class *** with modifiers "public static"
What am I doing wrong?
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/yajsw/support-requests/18/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
Related
Support Requests:
#18it seems that you are running your application from the jar file: nims-1.4.2-jar-with-dependencies.jar
the manifest of this jar file states de.firstdata.edoks.NIMS.server.NIMS as the class containing the main method.
however it seems that there is no main method in that file.
make sure that the class has a main method with the signature:
try adding:
or full path to this jar file.
-- Ron
There is a:
public static void main(String[] argv)
BUT
The class itself is only
class NIMS
not:
public class NIMS
I think this is the problem.
-----Ursprüngliche Nachricht-----
Von: rzo [mailto:rzorzorzo@users.sf.net]
Gesendet: Freitag, 15. Mai 2015 11:25
An: [yajsw:support-requests]
Betreff: [yajsw:support-requests] #18 java.lang.IllegalAccessException: can notaccess a member of class with modifiers "public static"
it seems that you are running your application from the jar file: nims-1.4.2-jar-with-dependencies.jar
the manifest of this jar file states de.firstdata.edoks.NIMS.server.NIMS as the class containing the main method.
however it seems that there is no main method in that file.
make sure that the class has a main method with the signature:
try adding:
or full path to this jar file.
-- Ron
** [support-requests:#18] java.lang.IllegalAccessException: can not access a member of class with modifiers "public static"**
Status: open
Group: Any
Created: Fri May 15, 2015 07:01 AM UTC by ninshiichinoe Last Updated: Fri May 15, 2015 08:32 AM UTC
Owner: rzo
I'v tried to run our Java application with the YAJSW and did everything like described. Unfortunately I keep getting this exception:
java.lang.IllegalAccessException: Class org.rzo.yajsw.app.WrapperJVMMain can not access a member of class *** with modifiers "public static"
What am I doing wrong?
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/yajsw/support-requests/18/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
Related
Support Requests:
#18yes, yajsw expects the class too to be public.
-- Ron
Hi Ron,
I re-compiled it and made the main class public, now it works very well.
Thank you!
-----Ursprüngliche Nachricht-----
Von: rzo [mailto:rzorzorzo@users.sf.net]
Gesendet: Freitag, 15. Mai 2015 17:57
An: [yajsw:support-requests]
Betreff: [yajsw:support-requests] #18 java.lang.IllegalAccessException: can notaccess a member of class with modifiers "public static"
yes, yajsw expects the class too to be public.
-- Ron
** [support-requests:#18] java.lang.IllegalAccessException: can not access a member of class with modifiers "public static"**
Status: open
Group: Any
Created: Fri May 15, 2015 07:01 AM UTC by ninshiichinoe Last Updated: Fri May 15, 2015 09:25 AM UTC
Owner: rzo
I'v tried to run our Java application with the YAJSW and did everything like described. Unfortunately I keep getting this exception:
java.lang.IllegalAccessException: Class org.rzo.yajsw.app.WrapperJVMMain can not access a member of class *** with modifiers "public static"
What am I doing wrong?
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/yajsw/support-requests/18/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
Related
Support Requests:
#18