Hello,
I just created a new GWT app with Maven. In my Pom.xml, I have :
<dependency>
<groupId>com.smartgwt</groupId>
<artifactId>smartgwt</artifactId>
<version>5.0</version>
<scope>system</scope>
<systemPath>${webappDirectory}/WEB-INF/lib/smartgwt-5.0.jar</systemPath>
</dependency>
<dependency>
<groupId>com.smartgwt</groupId>
<artifactId>smartgwt-skins</artifactId>
<version>5.0</version>
<scope>system</scope>
<systemPath>${webappDirectory}/WEB-INF/lib/smartgwt-skins-5.0.jar</systemPath>
</dependency>
In my MyApp.gwt.xml, I have :
<inherits name="com.smartgwt.SmartGwt" />
When I launch the app in DevMode, I got the following error :
Core SmartClient JavaScript libraries appear not to be loaded.
If inheriting the NoScript SmartGWT modules, verify that the HTML file includes <script src=...> tags to load the SmartClient module .js files from the appropriate location within the WAR.
By default these files are present under [GWT app name]/sc/modules/.
Unfortunately, I inherit the complete module, if I'm not wrong.
I also tried to inherit the NoScript SmartGWT module and added all the script in MyApp.html, but I got the same error.
How can I get rid of this ?
Thank you.
I just created a new GWT app with Maven. In my Pom.xml, I have :
<dependency>
<groupId>com.smartgwt</groupId>
<artifactId>smartgwt</artifactId>
<version>5.0</version>
<scope>system</scope>
<systemPath>${webappDirectory}/WEB-INF/lib/smartgwt-5.0.jar</systemPath>
</dependency>
<dependency>
<groupId>com.smartgwt</groupId>
<artifactId>smartgwt-skins</artifactId>
<version>5.0</version>
<scope>system</scope>
<systemPath>${webappDirectory}/WEB-INF/lib/smartgwt-skins-5.0.jar</systemPath>
</dependency>
In my MyApp.gwt.xml, I have :
<inherits name="com.smartgwt.SmartGwt" />
When I launch the app in DevMode, I got the following error :
Core SmartClient JavaScript libraries appear not to be loaded.
If inheriting the NoScript SmartGWT modules, verify that the HTML file includes <script src=...> tags to load the SmartClient module .js files from the appropriate location within the WAR.
By default these files are present under [GWT app name]/sc/modules/.
Unfortunately, I inherit the complete module, if I'm not wrong.
I also tried to inherit the NoScript SmartGWT module and added all the script in MyApp.html, but I got the same error.
How can I get rid of this ?
Thank you.
Comment