BootsFaces Error javax.faces.FacesException: Expression error

0

Follow the error

javax.faces.FacesException: Erro de expressão: Objeto denominado: net.bootsfaces.component.Button não encontrado.

Pom

<dependency>
            <groupId>net.bootsfaces</groupId>
            <artifactId>bootsfaces</artifactId>
            <version>0.7.0</version>
        </dependency>

My page

<html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:p="http://primefaces.org/ui"
    xmlns:b="http://bootsfaces.net/ui">

<h:head>

</h:head>

<h:body>

    <b:button value="test boostfaces"></b:button>

</h:body>

</html>

I'm using spring boot with jsf

    
asked by anonymous 01.10.2015 / 22:07

1 answer

1

Your example works perfectly on my machine:
(see link ).

Maybe the error is caused by the spring boot? Or maybe your BootsFaces.jar is corrupt. Try deleting it from the .m2 directory and downloading it again.

    
02.10.2015 / 22:44