aspose file tools*
The moose likes Web Services and the fly likes Getting java.lang.IllegalAccessException: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Getting java.lang.IllegalAccessException:" Watch "Getting java.lang.IllegalAccessException:" New topic
Author

Getting java.lang.IllegalAccessException:

Raja Mirrah
Greenhorn

Joined: Jun 23, 2009
Posts: 26
Hi All,

When i tried to get Calendar object from one package and set it as Calendar object to another package i get this below exception.

java.lang.IllegalAccessException: Class com.att.ctp.webSvcs.TestResultsService.server.GetTestResultsTranslator can not access a member of class java.util.Calendar with modifiers "protected">
java.lang.IllegalAccessException: Class com.att.ctp.webSvcs.TestResultsService.server.GetTestResultsTranslator can not access a member of class java.util.Calendar with modifiers "protected"
at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:65)
at java.lang.Class.newInstance0(Class.java:349)
at java.lang.Class.newInstance(Class.java:308)


Can anyone please help what could be the issue???

Thanks and Regards,


Warm Regards,
Raj
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
If you want some help with this problem, I am afraid that you will have to show us some code.
It is not easy (at least not for me) to guess what could cause the problem.
Best wishes!


My free books and tutorials: http://www.slideshare.net/krizsan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting java.lang.IllegalAccessException: