spring-projects / spring-projects/spring-data-rest
Example doesn't run
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 958
- Forks
- 568
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
Trying to get the example to run. Running gradle war from the example directory produces a
./build/libs/spring-data-rest-example-2.0.0.BUILD-SNAPSHOT.war
but trying to deploy this war in Tomcat gives:
path /spring-data-rest-example-2.0.0.BUILD-SNAPSHOT could not be started
FAIL - Encountered exception org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/spring-data-rest-example-2.0.0.BUILD-SNAPSHOT]]
catalina.out shows:
Caused by: java.lang.ClassNotFoundException: org.springframework.beans.factory.NoUniqueBeanDefinitionException
Docs don't seem to give any indication of how to run the example. Are they out of date? Am I missing something obvious?
Thanks
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in the example directory by reviewing the Gradle WAR build and the generated build/libs/spring-data-rest-example-2.0.0.BUILD-SNAPSHOT.war. Reproduce deployment in Tomcat and inspect catalina.out for the reported NoUniqueBeanDefinitionException. Done means the example starts successfully and the documentation explains how to build and deploy it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring
- Domain
- backend, documentation
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100