Skip to main content

When configuring the Output in the Datamapper , I select Pojo, and then select Java as class. when matching items show in box, one which is com.mulesoft.training - apessentialshmwk/src/main/java, I select that one, but

I get an error "com.mulesoft.training.Flight could not be found in 'apessentialshmwk/src/main/java'. Make sure all workspace resources are refreshed.

 

Steps I took to try to resolve issue:

 

1. Made sure program was refreshed,

2. Clicked in Flight.java code and see that there is an error in first line of code:

The declared package "com.mulesoft.training" does not match the expected package

"com.mulesoft.training". I can see this is causing other errors also causing my Apessentialshmwk not to run.

9 answers
  1. Jan 19, 2016, 2:46 AM
    Celina,

     

    Make sure you have copied the com folder from StudentFiles folder into src/main/java of your Studio project. Refresh and Clean your project and try again. If possible, please post a screenshot of your expanded Project Explorer view to look at.

     

    -gopal

0/9000