luisro Member Licensed User Aug 20, 2017 #1 Hello, changing the code from main to another activity I skip the following error. B4X: <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/> <title>Error 500 </title> </head> <body> <h2>HTTP ERROR: 500</h2> <p>Problem accessing /rdc. Reason: <pre> java.lang.ClassNotFoundException: b4j.example.Main2$_dbcommand</pre></p> <hr /><a href="http://eclipse.org/jetty">Powered by Jetty:// 9.3.z-SNAPSHOT</a><hr/> </body> </html> Error: java.lang.ClassNotFoundException: b4j.example.Main2$_dbcommand Can you run the code from other activities?
Hello, changing the code from main to another activity I skip the following error. B4X: <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/> <title>Error 500 </title> </head> <body> <h2>HTTP ERROR: 500</h2> <p>Problem accessing /rdc. Reason: <pre> java.lang.ClassNotFoundException: b4j.example.Main2$_dbcommand</pre></p> <hr /><a href="http://eclipse.org/jetty">Powered by Jetty:// 9.3.z-SNAPSHOT</a><hr/> </body> </html> Error: java.lang.ClassNotFoundException: b4j.example.Main2$_dbcommand Can you run the code from other activities?
Erel B4X founder Staff member Licensed User Longtime User Aug 21, 2017 #2 The two types must be declared in the Main module. Upvote 0