Update Oct 05, 2015:
If you happen to use Spring Boot and Mojarra, go back to Mojarra 2.2.10. The newer versions are broken, and they will remain broken until the Spring Boot ticket https://github.com/spring-projects/spring-boot/issues/3216 is resolved. Alternatively, you may try Apache MyFaces, as described in http://www.beyondjava.net/blog/newsflash-running-example-of-spring-boot-jsf/.
The error message means the the class net.bootsfaces.layout.Well
cannot be created. You didn't give the rest of the stack trace, but most likely the error is raised in a method called newThing()
. This is weird, because JSF already figured out that b:well
is implemented by net.bootsfaces.layout.Well
. In other words: JSF managed to read the configuration file, but fails to create the object. My best guess is there's something wrong with your classpath, or that you've got a corrupt BootsFaces.jar.
I suggest you try to execute the line new net.bootsfaces.layout.Well()
for a test. If my theory is correct, it should result in a ClassNotFoundException
.
Another possibility is your runtime environment. Do you use Spring Boot? This theory has been uttered by a brazilian developer. Maybe this causes the error.
In the meantime, there are two tickets on our bug tracker: https://github.com/TheCoder4eu/BootsFaces-OSP/issues/188 and https://github.com/TheCoder4eu/BootsFaces-OSP/issues/189.
Grave: Exception while preparing the app: Unable to load the EJB moduleDeploymentContext does not contain any EJB. Check the archive to ensure correct packaging for D:\Projets\myproject\build\web If you use EJB component annotations to define the EJB, and an ejb or web deployment descriptor is also used,please make sure that the deployment descriptor references a Java EE5 or higher version schema, and that the metadata-complete attribute is not set to true,so the component annotations can be processed as expected
– Hicham Sep 28 '15 at 08:41