java.lang.IllegalAccessException: no such method: test.main(String[])void/invokeStatic

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

Solutions on the web

via GitHub by Artpej
, 1 year ago
no such method: test.main(String[])void/invokeStatic
via GitHub by yloiseau
, 2 years ago
no such method: TestA.main(String[])void/invokeStatic
via GitHub by k33g
, 2 years ago
no such method: named_params.main(String[])void/invokeStatic
via GitHub by Artpej
, 2 years ago
no such method: test.main(String[])void/invokeStatic
via GitHub by jponge
, 1 year ago
no such method: Jumbo.main(String[])void/invokeStatic
via Stack Overflow by Pavel Synek
, 2 years ago
no such method: cz.skaut.warehousemanager.fragment.ItemDetailFragment.lambda$onViewCreated$32(Bitmap)void/invokeSpecial
java.lang.VerifyError: Bad local variable type Exception Details: Location: test.__$$_sugar_closure_0()Ljava/lang/Object; @42: aload_0 Reason: Type top (current frame, locals[0]) is not assignable to reference type Current Frame: bci: @42 flags: { } locals: { top, top, 'java/lang/Object', 'java/lang/Object', 'java/lang/Object' } stack: { } Bytecode: 0x0000000: 04b8 0043 05b8 0043 ba00 4700 00ba 004e 0x0000010: 0000 4d2c 03b8 0043 ba00 5100 004e 2c04 0x0000020: b800 43ba 0051 0000 3a04 2ab0
at java.lang.invoke.MethodHandleNatives.resolve(Native Method)
at java.lang.invoke.MemberName$Factory.resolve(MemberName.java:977)
at java.lang.invoke.MemberName$Factory.resolveOrFail(MemberName.java:1002)
at java.lang.invoke.MethodHandles$Lookup.resolveOrFail(MethodHandles.java:1382)
at org.eclipse.golo.cli.command.spi.CliCommand.callRun(CliCommand.java:39)
at org.eclipse.golo.cli.command.ShebangCommand.execute(ShebangCommand.java:46)
at org.eclipse.golo.cli.Main.main(Main.java:66)

Users with the same issue

You are the first who have seen this exception.

Write tip

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