Sunday, May 5, 2013

how to setup the vaadin build environment





+
step 1:After install vaadin successfully, create the first project and build successfully,
step 2:copy it inot Tomcat  Webapp folder,
step 3: access it via /localhost:8080/myapp,

the error message as below:
https://vaadin.com/forum/#!/thread/2503181


javax.servlet.ServletException: com.vaadin.server.ServiceException: com.example.bbb.BbbUI could not be loaded
 com.vaadin.server.VaadinServlet.handleServiceException(VaadinServlet.java:580)
 com.vaadin.server.VaadinServlet.service(VaadinServlet.java:343)
 com.vaadin.server.VaadinServlet.service(VaadinServlet.java:201)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:728)


Reference:

http://stackoverflow.com/questions/13929352/vaadin-servletexception-failed-to-load-application-class

問題:Eclipse Plugin doesn't download Vaadin 7 libraries


https://vaadin.com/forum/#!/thread/2503181



必須要裝:ant:
--> sudo apt-get install ant1.7
 

sudo ln -s -T /usr/share/java/ivy.jar /usr/share/ant/lib/ivy.jar










No comments:

Post a Comment