spring-projects / spring-projects/spring-data-rest
Example doesn't run [DATAREST-122]
@odrotbohm is already working on this.
Since Dec 31, 2020.
- Dominant language
- Java
- Stars
- 958
- Forks
- 568
- PR merge metrics
- No merged PRs in 30d
Description
Thomas Darimont opened DATAREST-122 and commented
Github Author: pschuegr
Github Last-Updated: 2013-07-25T00:11:58Z
This issue was automatically imported from github
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
Reference URL: https://api.github.com/repos/SpringSource/spring-data-rest/issues/110
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.
Assessment
This issue has not been assessed yet.