Can we call another project java class from our project in eclipse

前端 未结 9 1584
心在旅途
心在旅途 2020-11-30 07:40
import ...

public class TriggerJob {

    String jobStatus = \"\";
    SchedulerMetaData metaData = null;

    public void rightNow(HashMap ParamMap){ 

AnotherProj         


        
9条回答
  •  谎友^
    谎友^ (楼主)
    2020-11-30 08:12

    I had a similar problem and finally I realized that the problem was that the class in the calling project was not under src folder, but inside another inner package. When I removed that folder and moved the file to the src folder, everything worked.

提交回复
热议问题