Reply To: Spring Boot + JSF 2.2 + PrettyFaces | Failing to get @URLMapping to function.

Splash Forums PrettyFaces Users Spring Boot + JSF 2.2 + PrettyFaces | Failing to get @URLMapping to function. Reply To: Spring Boot + JSF 2.2 + PrettyFaces | Failing to get @URLMapping to function.

#26630

Meister
Participant

Edit: Switching dependencies and moving my build path to WEB-INF/classes allowed @URLMapping to function, but now I have to run: mvn clean install after every code change to run the new version, instead of automatically building like before. Ack.

Switching back from:

<!-- PrettyFaces -->
<dependency>
    <groupId>org.ocpsoft.rewrite</groupId>
    <artifactId>rewrite-servlet</artifactId>
    <version>2.0.12.Final</version>
</dependency>
<dependency>
    <groupId>org.ocpsoft.rewrite</groupId>
    <artifactId>rewrite-config-prettyfaces</artifactId>
    <version>2.0.12.Final</version>
</dependency>

To:

<dependency>
	<groupId>com.ocpsoft</groupId>
	<artifactId>prettyfaces-jsf2</artifactId>
	<version>3.3.3</version>
</dependency>

In combination with my moving compiled classes to WEB-INF/classes has caused the @URLMapping to start functioning! Fantastic news.

Any thoughts on why the rewrite version exploded so spectacularly? I’d like to eventually upgrade from 3.3.3 to your newer code base, and there seems to be a hiccup in the process for me.

  • This reply was modified 7 years, 1 month ago by  Meister.
  • This reply was modified 7 years, 1 month ago by  Meister.