java.lang.IllegalAccessError: tried to access class org.springframework.binding.message.DefaultMessageContext from class org.springframework.webflow.test.MockRequestContext

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

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Spring JIRA by Barbara McInnes, 1 year ago
tried to access class org.springframework.binding.message.DefaultMessageContext from class org.springframework.webflow.test.MockRequestContext
via Spring JIRA by Barbara McInnes, 1 year ago
tried to access class org.springframework.binding.message.DefaultMessageContext from class org.springframework.webflow.test.MockRequestContext
java.lang.IllegalAccessError: tried to access class org.springframework.binding.message.DefaultMessageContext from class org.springframework.webflow.test.MockRequestContext
at org.springframework.webflow.test.MockRequestContext.(MockRequestContext.java:108)
at com.s1.arch.orch2.webflow.customization.test.CustomListenerInstanceTest.getRequestContext(CustomListenerInstanceTest.java:880)
at com.s1.arch.orch2.webflow.customization.test.CustomListenerInstanceTest.testCustomTransition(CustomListenerInstanceTest.java:333)
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:585)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

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