java.lang.IllegalArgumentException: Could not obtain target method from JoinPoint: 'execution(void test.SecMethB())'

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

,
Expert tip

If you're unit testing, you should instantiate only the service and mock the dependencies. If you're testing integration, you should add all the mocking to the configurations file.

Solutions on the web

via Spring JIRA by Anis Moussa, 1 year ago
Could not obtain target method from JoinPoint: 'execution(void test.SecMethB())'
via Spring JIRA by Anis Moussa, 1 year ago
Could not obtain target method from JoinPoint: 'execution(void test.SecMethB())'
via Stack Overflow by Bill Goldberg
, 1 year ago
Invoked method public abstract void org.springframework.cloud.aws.messaging.endpoint.NotificationStatus.confirmSubscription() is no accessor method!
via Stack Overflow by Arun M R Nair
, 2 years ago
Unable to obtain mapping metadata for long!
via petrikainulainen.net by Unknown author, 1 year ago
Unable to load dataset from "classpath:/termData.xml" using class com.github.springtestdbunit.dataset.FlatXmlDataSetLoader
via petrikainulainen.net by Unknown author, 1 year ago
Unable to load dataset from "classpath:/termData.xml" using class com.github.springtestdbunit.dataset.FlatXmlDataSetLoader
java.lang.IllegalArgumentException: Could not obtain target method from JoinPoint: 'execution(void test.SecMethB())'
at org.springframework.security.access.intercept.aspectj.MethodInvocationAdapter.(MethodInvocationAdapter.java:38)

Users with the same issue

3 times, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
4 times, 8 months ago
2 times, 5 months ago
196 more bugmates

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