spring-boot-learning | Those years of learning Spring Boot - 这些年学习的Spring Boot | Security library
kandi X-RAY | spring-boot-learning Summary
kandi X-RAY | spring-boot-learning Summary
Those years of learning Spring Boot - 这些年学习的Spring Boot
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Get rank .
- get IP address from request
- Convert name to physical table name .
- Main application .
- Listener for config change events
- Bean serverFactory bean .
- bean factory .
- Build sharding data source .
- Handles validation errors .
- test log level config
spring-boot-learning Key Features
spring-boot-learning Examples and Code Snippets
Community Discussions
Trending Discussions on spring-boot-learning
QUESTION
I am beginer with java and Spring boot and when i build simple project and run it then i get errors about can not load main class but i don't why ?? somebody can help me?? Thank a lot!
Here my struct of my project: 1
and my main class:
...ANSWER
Answered 2019-Nov-11 at 17:32remove the pom
from your pom.xml
and then run mvn clean install
it should work
you have used packaging type pom, you should use the jar, The default packaging type is jar, If you don't have any it will use packaging as jar
The packaging type of a Maven project specifies the type of artifact the project produces. There are many built-in Maven packaging types (for example, jar, war, and ear).
A pom type is packaging a kind container of submodules, a submodule is represented by a subdirectory in the same directory
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install spring-boot-learning
You can use spring-boot-learning like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the spring-boot-learning component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page