java.lang.IllegalAccessException: Class org.springframework.beans.BeanWrapperImpl can not access a member of class net.gleamynode.netty2.AbstractThreadPooledEventDispatcher with modifiers "public synchronized"

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

If you want to access functions/variables of a class from a different class they can't be private. The modifier private means that a function/variable can only be accessed from within the same class. Try the default, protected or public modifier.

,

When a member (Variables, methods, and constructors) is private, it is only accessible within the same class as it is declared. Attempting to access or instantiate it from another class would throw java.lang.IllegalAccessException exception.

Solutions on the web

via Spring JIRA by Michael Brown, 1 year ago
Class org.springframework.beans.BeanWrapperImpl can not access a member of class net.gleamynode.netty2.AbstractThreadPooledEventDispatcher with modifiers "public synchronized"
via Spring JIRA by Michael Brown, 1 year ago
Class org.springframework.beans.BeanWrapperImpl can not access a member of class net.gleamynode.netty2.AbstractThreadPooledEventDispatcher with modifiers "public synchronized"
via Google Groups by Malcolm Lidierth, 3 months ago
Class com.mathworks.jmi.bean.MatlabBeanInterface can not access a member of class javax.swing.TransferHandler$SwingDropTarget with modifiers "public"
via Oracle Community by 843798, 1 year ago
Class sun.plugin.com.MethodDispatcher can not access a member of class aim.Form1 with modifiers "public"
via Oracle Community by 843798, 1 year ago
Class sun.plugin.com.MethodDispatcher can not access a member of class aim.Form1 with modifiers "public"
via Google Groups by Bill Smith, 2 years ago
Class clojure.lang.Reflector can not access a member of class java.util.Hashtable$Entry with modifiers "public"
java.lang.IllegalAccessException: Class org.springframework.beans.BeanWrapperImpl can not access a member of class net.gleamynode.netty2.AbstractThreadPooledEventDispatcher with modifiers "public synchronized"
at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:57)
at java.lang.reflect.Method.invoke(Method.java:317)
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:718)
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:624)
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:755)
at org.springframework.beans.BeanWrapperImpl.setPropertyValues(BeanWrapperImpl.java:782)
at org.springframework.beans.BeanWrapperImpl.setPropertyValues(BeanWrapperImpl.java:771)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:763)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:604)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:267)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:204)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:136)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:279)
at org.springframework.context.support.FileSystemXmlApplicationContext.(FileSystemXmlApplicationContext.java:83)
at org.springframework.context.support.FileSystemXmlApplicationContext.(FileSystemXmlApplicationContext.java:68)
at com.baesystems.etss.etpg.listener.Server.main(Server.java:27)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)

Users with the same issue

3 times, 1 month ago
Once, 2 months ago
Once, 2 months ago
Once, 3 months ago
Once, 3 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.