please help

  • Replies:0
Oti
  • Forum posts: 1

Apr 7, 2017, 2:51:02 PM via Website

Hello,

I'm totally new in this forum and in java programming, so I don't know if the following informations will be enough so that you can help me.

So, here is my problem :
When I try to run the program, I get this message :

"Exception in thread "main" java.lang.NoSuchMethodException: lbrand.monopoly.Start.main([Ljava.lang.String
at java.lang.Class.getMethod(Class.java:1786)
at com.intellij.rt.execution.application.AppMain.main (AppMain.java:125)

Process finished with exit code 1"

It sends me back to this text (in Class.java) , when I click on it :
" * @exception SecurityException
* If a security manager, s, is present and any of the
* following conditions is met:
*
*


    *
    *
  • invocation of
    * {@link SecurityManager#checkMemberAccess
    * s.checkMemberAccess(this, Member.DECLARED)} denies
    * access to the declared methods within this class
    *
    *
  • the caller's class loader is not the same as or an
    * ancestor of the class loader for the current class and
    * invocation of {@link SecurityManager#checkPackageAccess
    * s.checkPackageAccess()} denies access to the package
    * of this class
    *
    *

*
* @since JDK1.1
*/"

Thank you for reading me.
I hope somebody can help...

Reply