FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[Original HTTPS Page]
javaee-tutorial-examples/batch/webserverlog at master · dancer1325/javaee-tutorial-examples · GitHub
dancer1325
javaee-tutorial-examples
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
javaee-tutorial-examples
/
batch
/
webserverlog
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
Breadcrumbs
javaee-tutorial-examples
/
batch
/
webserverlog
/
Copy path
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
src/
main
src/
main
README.md
README.md
pom.xml
pom.xml
README.md
Outline
Structure
JsfBean
managed by JSF == interact with it, to start the batch
How to run locally?
mvn package
set up a glassfish server
Example video1
Example video2
run the glassfish server adding 'webserverlog.war'
Problems:
Problem1: "java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet"
Attempt1: Update OR mvn clean install
Solution: Add the dependency 'jakarta.faces:jakarta.faces-api'
Problems2: "java.lang.IllegalStateException: CDI is not available"
Solution: TODO:
Open in your browser 'localhost:8080' to check that it shows 'index.xhtml'
Notes
Back
|
FazBrowse Home
|
New Git URL