In STS, sleuth causes the compile error: Build path is incomplete. Cannot find class file for org/tmatesoft/svn/core/wc2/SvnOperationFactory
See original GitHub issueHi,
I have a config server application and all were fine until I added spring-cloud-starter-sleuth which is causing a compilation error:
Build path is incomplete. Cannot find class file for org/tmatesoft/svn/core/wc2/SvnOperationFactory
the important part of my pom:
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-config-server</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-amqp</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-sleuth</artifactId>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Camden.SR5</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
My spring boot version is: 1.5.1.RELEASE
Any help?
Issue Analytics
- State:
- Created 7 years ago
- Comments:17 (9 by maintainers)
Top Results From Across the Web
Build path is incomplete. Cannot find class file - Stack Overflow
It looks like your com.dao.StudentDaoImpl class is in reality in some other package than com.dao . Or the class name is different, ...
Read more >Build path is incomplete. Cannot find the class file for java.lang
Hi, When opening a Gradle project via buildship I get following for error for all sub projects and compilation fails with many errors...
Read more >Eclipse Error - Cannot find the class file for java.lang.Object
lang.Object. Fix the build path then try building this project. Solution 1. Try to close the project and re-open it.
Read more >class file there but Eclipse misses it, errantly says "build path ...
Eclipse gives two errors: The project was not built since its build path is incomplete. Cannot find the class file for <api.package>.
Read more >How to Solve Java Build Path Problem in Eclipse - YouTube
Steps:1. How to resolve java build path problem in Eclipse2. Right click the project - select build path - click configure build path3....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Here’s a workaround. Right click the project and go to
“Properties >> Spring”
Select the “Enable Project Specific settings” checkbox.
Go to “Project Builders” tab and disable “AOP Reference Model Builder”.
My guess is that the AOP reference model builder is running into references to types that a regular compile would not visit, and these types are not on the project classpath, causing that error.
As a GitHub project or a zip file, not as comments