Oh, that was not what I wanted to do sry for "outsourcing" this article...
Try to change your deployment to:
- .addClasses(BeispielKlasse.class, BeispielBean.class)
- .addAsManifestResource(EmptyAsset.INSTANCE, "beans.xml")
There is an error message at "Maven", I'm not sure why...
1 of 1 people found this helpful
No problem :-).
To use ShrinkWrap Resolver you need to add maven dependency into your pom.xml file:
<dependency> <groupId>org.jboss.shrinkwrap.resolver</groupId> <artifactId>shrinkwrap-resolver-depchain</artifactId> <version>3.0.0-alpha-4</version> <type>pom</type> </dependency>
Anyway, according to your exception, it doesn't seem to be this problem - there is no ClassNotFoundException.
I would probably ask on Vaadin forum if they have any experience with it as the exception comes from Vaadin code.
Okay, I'm going to ask in the Vaadin forum, thanks for your help.