axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Feldman Leonid <>
Subject RE: java.lang.IllegalAccessException: Class org.apache.axis.provi ders .java.JavaProvider can not access a member of class Voucher with mod ifier s ""
Date Thu, 10 Apr 2003 13:36:33 GMT

I have a simple class that reproduces the problem.

public class TestRunner {

	private String myValue;
		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
can not access a member of class TestRunner with modifiers """

Am I missing something very obvious ?


-----Original Message-----
From: Feldman Leonid 
Sent: Wednesday, April 09, 2003 3:02 PM
To: ''
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 ?


View raw message