java.lang.ClassNotFoundException: com.google.gwt.XXX

When I follow the tutorial and deploy the sample code on JBoss AS 7

it display lots of java.lang.ClassNotFoundException: com.google.gwt.XXX

but in browser everything goes well

what’s the problem?

I’m new

thanks for every reply

this question may be very simple…

I fixed it myself…

I recreated the project with maven

and add dependency


<dependency>
	<groupId>com.google.gwt</groupId>
	<artifactId>gwt-servlet</artifactId>
	<version>${gwt.version}</version>
</dependency>