You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Keith Hatton <kh...@axiomsystems.com> on 2003/04/11 13:51:15 UTC
RE: java.lang.IllegalAccessException: Class org.apache.axis.providers .java.JavaProvider can not access a member of class Voucher with modifier s ""
Your constructor is not public. I think that is the problem.
Keith
-----Original Message-----
From: Feldman Leonid [mailto:Leonid.Feldman@comverse.com]
Sent: 10 April 2003 14:37
To: 'axis-user@ws.apache.org'
Subject: RE: java.lang.IllegalAccessException: Class
org.apache.axis.providers .java.JavaProvider can not access a member of
class Voucher with modifier s ""
I have a simple class that reproduces the problem.
public class TestRunner {
private String myValue;
TestRunner(){
myValue = "value123";
}
public static void main(String[] args) {
TestRunner tr = new TestRunner();
}
public String readMyValue(){
return myValue;
}
}
It is deployed as a jws.
I am getting the following exception while trying to access it.
"java.lang.IllegalAccessException: Class
org.apache.axis.providers.java.JavaProvider
can not access a member of class TestRunner with modifiers """
Am I missing something very obvious ?
Thanks,
LF
-----Original Message-----
From: Feldman Leonid
Sent: Wednesday, April 09, 2003 3:02 PM
To: 'axis-user@ws.apache.org'
Subject: java.lang.IllegalAccessException: Class
org.apache.axis.providers .java.JavaProvider can not access a member of
class Voucher with modifier s ""
I keep getting the same error no matter how I change my server's
code. I cannot execute any methods.
My configuration : Axis 1.1RC2, jakarta-tomcat-4.1.24, java full
version "1.4.1-b21", Windoes 2000.
I read though the archives and nothing seems to match.
Any idea what's causing it ?
Regards,
LF