Hi guys,
I spent few days trying to load the most basic datasource into my application without success. Any help would be much appreciated.
using smartgwtee 6.0
and gwt 2.8.0
First : The error :
http://127.0.0.1:8888/MySampleApplic...aSource=testds HTTP ERROR 500
Problem accessing /MySampleApplication/sc/DataSourceLoader. Reason:
Server Error
Caused by:
java.lang.NoClassDefFoundError: com.isomorphic.base.Base at com.isomorphic.servlet.BaseServlet.handleError(BaseServlet.java:203) at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:164) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
and during the compilation : (it doesn't stop the deployment though)
Isomorphic Init: Exception in Init.go()
java.lang.NoClassDefFoundError: Could not initialize class com.isomorphic.util.DataTools
The config :
gwt.xml
html entry page :
Librairies (not maven) :
- gwt-user
- isomorphic_assembly
- isomorphic_core_rpc
- smartgwtee
IDE : IntelliJ
App server : embedded Jetty
I would be very happy to provide any missing info.
Thank you !
I spent few days trying to load the most basic datasource into my application without success. Any help would be much appreciated.
using smartgwtee 6.0
and gwt 2.8.0
First : The error :
http://127.0.0.1:8888/MySampleApplic...aSource=testds HTTP ERROR 500
Problem accessing /MySampleApplication/sc/DataSourceLoader. Reason:
Server Error
Caused by:
java.lang.NoClassDefFoundError: com.isomorphic.base.Base at com.isomorphic.servlet.BaseServlet.handleError(BaseServlet.java:203) at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:164) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
and during the compilation : (it doesn't stop the deployment though)
Isomorphic Init: Exception in Init.go()
java.lang.NoClassDefFoundError: Could not initialize class com.isomorphic.util.DataTools
The config :
gwt.xml
Code:
<!-- Inherit the core Web Toolkit stuff. --> <inherits name='com.google.gwt.user.User'/> <inherits name="com.smartgwt.tools.SmartGwtTools"/> <inherits name="com.smartgwtpower.tools.Tools"/> <inherits name="com.smartgwtee.SmartGwtEE"/>
Code:
<!-- IMPORTANT : You must set the variable isomorphicDir to [MODULE_NAME]/sc/ so that the SmartGWT resource are correctly resolved --> <script> var isomorphicDir = "MySampleApplication/sc/";</script> <script src="MySampleApplication/sc/modules/ISC_Tools.js"></script> <script src="MySampleApplication/sc/initsc.js"></script> <script src="MySampleApplication/sc/modules/ISC_Core.js"></script> <script src="MySampleApplication/sc/modules/ISC_Foundation.js"></script> <script src="MySampleApplication/sc/modules/ISC_Containers.js"></script> <script src="MySampleApplication/sc/modules/ISC_Grids.js"></script> <script src="MySampleApplication/sc/modules/ISC_Forms.js"></script> <script src="MySampleApplication/sc/modules/ISC_RichTextEditor.js"></script> <script src="MySampleApplication/sc/modules/ISC_Calendar.js"></script> <script src="MySampleApplication/sc/modules/ISC_DataBinding.js"></script> <script src="MySampleApplication/sc/modules/ISC_FileLoader.js"></script> <script src="MySampleApplication/sc/modules/ISC_AdminConsole.js"></script> <script src="MySampleApplication/sc/skins/Enterprise/load_skin.js"></script> <!-- --> <!-- This script is required bootstrap stuff. --> <!-- --> <script type="text/javascript" language="javascript" src="MySampleApplication/MySampleApplication.nocache.js"></script>
Librairies (not maven) :
- gwt-user
- isomorphic_assembly
- isomorphic_core_rpc
- smartgwtee
IDE : IntelliJ
App server : embedded Jetty
I would be very happy to provide any missing info.
Thank you !
Comment