Skip to content

Commit 7d43524

Browse files
committed
some design
1 parent 4a3f15d commit 7d43524

File tree

1 file changed

+17
-13
lines changed

1 file changed

+17
-13
lines changed

README.md

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,31 +8,35 @@ Fork of Zergleb's Spring Boot + JSF Integration, forked from cenobyte321/Spring-
88

99
Build it with
1010

11-
_mvn clean install spring-boot:repackage_
11+
```
12+
mvn clean install spring-boot:repackage
13+
```
1214

1315
and try to execute it with
1416

15-
_java -jar target/application-0.0.1-SNAPSHOT.war_
17+
```
18+
java -jar target/application-0.0.1-SNAPSHOT.war
19+
```
1620

1721
You will get during startup an Exception like this :
1822

23+
```
24+
2017-09-08 10:48:23.860 INFO 35369 --- [ost-startStop-1] j.e.resource.webcontainer.jsf.config : Mojarra 2.2.7 ( 20140610-1547 https://svn.java.net/svn/mojarra~svn/tags/2.2.7@13362) für Kontext '' wird initialisiert.
1925
20-
*2017-09-08 10:48:23.860 INFO 35369 --- [ost-startStop-1] j.e.resource.webcontainer.jsf.config : Mojarra 2.2.7 ( 20140610-1547 https://svn.java.net/svn/mojarra~svn/tags/2.2.7@13362) für Kontext '' wird initialisiert.*
21-
22-
*2017-09-08 10:48:27.938 ERROR 35369 --- [ost-startStop-1] j.e.resource.webcontainer.jsf.config : Critical error during deployment:*
23-
24-
*com.sun.faces.config.ConfigurationException: java.util.concurrent.ExecutionException: javax.faces.FacesException: java.io.FileNotFoundException: JAR entry META-INF/ not found in /var/folders/gj/...*
26+
2017-09-08 10:48:27.938 ERROR 35369 --- [ost-startStop-1] j.e.resource.webcontainer.jsf.config : Critical error during deployment:
2527
28+
com.sun.faces.config.ConfigurationException: java.util.concurrent.ExecutionException: javax.faces.FacesException: java.io.FileNotFoundException: JAR entry META-INF/ not found in /var/folders/gj/...
29+
```
2630

2731
Changing spring-boot-parent version in pom to something lower 1.5.3.RELEASE it works fine.
2832

2933

3034

3135

3236

33-
###Original Readme
37+
### Original Readme
3438

35-
##Changes##
39+
## Changes
3640

3741
- Maven based project
3842
- Spring Security integration with Spring Security Tags
@@ -41,21 +45,21 @@ Changing spring-boot-parent version in pom to something lower 1.5.3.RELEASE it w
4145
- H2 persistence with Console enabled for development purposes
4246
- Session and View expiration handling
4347

44-
##Run##
48+
## Run
4549

4650
To run use
4751

4852
```
4953
mvn spring-boot:run
5054
```
5155

52-
##Credentials##
56+
## Credentials
5357

5458
Admin: admin:12345
5559

5660
User: usuario:12345
5761

58-
##URLS##
62+
## URLS
5963

6064
[http://localhost:8080/greeting](http://localhost:8080/greeting) - Public Spring MVC view
6165

@@ -67,6 +71,6 @@ User: usuario:12345
6771

6872
[http://localhost:8080/console](http://localhost:8080/console) - H2 Console (Note: should only be available for development, tip: use profile feature)
6973

70-
##Note from original##
74+
## Note from original
7175

7276
There was a common belief that because JSF and Spring MVC were their own view technologies and that they could not be used together, but this is incorrect and is part of this example.

0 commit comments

Comments
 (0)