HelloWorld ClassNotFoundException

Hi there,
I want to migrate my Vaadin 6 App to Vaadin 7.
First I tried running a simple HelloWorld described here:
https://vaadin.com/de/book/-/page/intro.walkthrough.html
with the deployment descriptor described here:
https://vaadin.com/book/-/page/application.environment.html
On my Glassfish 3.1 I got:
java.lang.ClassNotFoundException: vaadin7.hello.HelloWorld

I remember a classloader issue with Glassfish 3.0 and Vaadin 6, but whats missing here in this simple HelloWorld with GF 3.1/Vaadin7?

my web.xml:

<?xml version="1.0" encoding="UTF-8"?>
<servlet>
	<servlet-name>myservlet</servlet-name>
	<servlet-class>
		com.vaadin.server.VaadinServlet
	</servlet-class>

	<init-param>
		<param-name>UI</param-name>
		<param-value>vaadin7.hello.HelloWorld</param-value>
	</init-param>

</servlet>

<servlet-mapping>
	<servlet-name>myservlet</servlet-name>
	<url-pattern>/*</url-pattern>
</servlet-mapping>

Thanks
Maik

I found that HelloWorld runs so far when I deploy the war file only, but in context of a EAR it doesn’t. Any ideas from Glassfish users?

  1. running HelloWorld from WAR takes 3 minutes to deploy. It seem much to long, isn’t it?
    Any ideas for that issue?

Thanks in advance
Maik