To Whom It May Concern:
I have the following directory:
c:\eclipse\workspace\ProSpringChapter4\src\
I right clicked on the directory src and click “New” and than “Folder”.
I called the folder “java”. My new directory structure is
c:\eclipse\workspace\ProSpringChapter4\src\java.
I right click on src\java and choose import. I choose file system, with radio button “Create selected folders only” selected. I selected the following folder:c:\ProSpring\Chapters\ch4\src\java. It gives an “import” screen. I clicked on the check box in the order: java\com\apress\prospring\ch4\autowiring.
It creates the following directory in my src\java\com\apress\prospring\ch4\autowiring\ which is what I wanted.
The problem is the the file ArtworkSender.java in the folder src\java\com\apress\prospring\ch4
which has the package
com.apress.prospring.ch4 is giving the error package besides the package name the following:
The declared package does not match the expected package apress.prospring.ch4. I don’t anything why myeclipse is giving me this error when the java file ArtworkSender.java has the right package “com.apress.prospring.ch4”. How do I tell myEclipse that the current package in the ArtworkSender.java file is correct?
Yours,
Desperate