开发者

Run a project without source .java files in Eclipse

开发者 https://www.devze.com 2023-02-10 05:52 出处:网络
I have a java proje开发者_开发知识库ct in Eclipse that I am trying to run/debug. When I run the project Eclipse goes into Debug mode and then throws a ClassNotFound Exception.

I have a java proje开发者_开发知识库ct in Eclipse that I am trying to run/debug. When I run the project Eclipse goes into Debug mode and then throws a ClassNotFound Exception. I have a class folder in the default package in my project that contains all the necessary class files. Any help regarding this would be appreciated. Thanks!


The classes folder needs to be added to the project's classpath. Putting classes into the source directory isn't going to work. Go to project properties -> Java Build Path to configure this.

0

精彩评论

暂无评论...
验证码 换一张
取 消