Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/altafjava/spring-react
A combined project of Spring Boot and ReactJS in a single jar file
https://github.com/altafjava/spring-react
reactjs single-jar spring-boot spring-react
Last synced: about 10 hours ago
JSON representation
A combined project of Spring Boot and ReactJS in a single jar file
- Host: GitHub
- URL: https://github.com/altafjava/spring-react
- Owner: altafjava
- Created: 2021-02-16T03:39:36.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-02-16T03:40:28.000Z (over 3 years ago)
- Last Synced: 2024-10-12T16:11:37.370Z (about 1 month ago)
- Topics: reactjs, single-jar, spring-boot, spring-react
- Language: Java
- Homepage:
- Size: 199 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Steps to execute the application
1. `mvn clean install`
2. `java -jar target/spring-react-1.0.jar`
3. Open a browser and type this url [http://localhost:8080](http://localhost:8080)**Note:** You might get a warning in pom.xml saying
```
Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-antrun-plugin:1.8:run (execution: default, phase: generate-resources)
```So just ignore it or if you can fix it then you can.
To solve the above warning if you put all the plugins inside the `...` then `java -jar target/spring-react-1.0.jar` will not work. It will raise an error like `no main manifest attribute, in spring-react-1.0.jar`.