spring-mvc-simple | Simple Spring MVC web application using Gradle | Model View Controller library
kandi X-RAY | spring-mvc-simple Summary
kandi X-RAY | spring-mvc-simple Summary
Simple Spring MVC web application using Gradle.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Will be overwritten by default
- Load home page
spring-mvc-simple Key Features
spring-mvc-simple Examples and Code Snippets
Community Discussions
Trending Discussions on spring-mvc-simple
QUESTION
#### UPDATE v2 ####
Ok I found out the issue, it was in fact an IDEA bug. More precisely, it's the git extension, gitflowincrementalbuilder, which from 3.8+ breaks Idea. Changing version to 3.7 solves it, for now.
https://github.com/vackosar/gitflow-incremental-builder/issues/91
Intellij/git, please fix it
------ Old Update v1 -----
I just tried running the project with Eclipse... works perfectly without any issues whatsoever, at first try... So it's kind of a Intellij-IDEA bug/problem (...)
I am trying to run some examples from Github, the spring spring-boot ones from baeldung.com; more specifically this one (no one works in idea): https://github.com/eugenp/tutorials/tree/master/spring-mvc-simple-2
While it works using Maven commands, "mvn clean install" and then "mvn spring-boot:run", wont work in Idea (it does clean and install ok, but no run). Project is imported using "New"->"Project from Existing Sources" (check images below for settings).
I think there is some problem with the pom imported configuration, especially since there is a multi module structure (parent tag); cannot even resolve @SpringBootApplication.
...ANSWER
Answered 2019-Jun-25 at 08:24You didn't build the parent module so IntelliJ does not find this in your local Maven repository.
You should run mvn install
in the project:
https://github.com/eugenp/tutorials/blob/master/parent-boot-2/pom.xml
But also exchanging the parent helps like you described yourself.
To make the tests run you have to add the test dependency from the parent:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install spring-mvc-simple
You can use spring-mvc-simple 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-mvc-simple 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