Comments (4)
Now worries, this is a good place to ask questions. You can't run gs-gradle-0.1.0.jar
as an executable jar because this sample is not about Spring Boot(which would create an executable jar). This sample just tries to steer user through a generic gradle
build process.
You can get familiar with Boot for example using a sample https://spring.io/guides/gs/spring-boot/.
From there if you follow a guide, you'll see instructions to guide you to run command:
java -jar build/libs/gs-spring-boot-0.1.0.jar
Good luck and have fun with Boot!
from gs-gradle.
Thank you for your help, i tried the spring-boot and i'm reading the spring-boot Module Documentation.Boot is a great job, thanks!
from gs-gradle.
When I user java -jar for testing. I get this:
~/workspaces/spring/gs-gradle> java -jar build/libs/gs-gradle-0.1.0.jar
Failed to load Main-Class manifest attribute from
build/libs/gs-gradle-0.1.0.jar
from gs-gradle.
@cnzj, did @jvalkeal's recommendation help?
from gs-gradle.
Related Issues (12)
- "Build Java Code" section contains completed build.gradle, not the initial version HOT 3
- Getting Started with Gradle guide does not run the application.
- Guide has inconsistent behavior HOT 2
- Update to Gradle 2.4 HOT 1
- Getting error on gradle build: Could not find method bootJar HOT 1
- This tutorial is out of date HOT 4
- Getting error in get-started doc
- gradle tasks doesn't work before creating a build.gradle in current version HOT 1
- Update Gradle and Java versions
- Explain how to change the name of the jar
- Revert HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gs-gradle.