> I am not able to find any relevent answer till now. In eclispe this project > is working well without any error. So i think this is something with meven > compiler. But not aware of What? will you please describe the reason for me?
Eclipse has its own compiler. Maven does not -- it uses the Javac compiler included with the JDK you have installed. So there is no problem with the Maven compiler, rather it is likely you have found a problem in the Eclipse compiler, which does not complain about a bad file when it should. > my package-info.java class This does not appear to be a valid Package Comment file per the Javadoc documentation, specifically the import statements are invalid. Read more online: http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/javadoc.html#packagecomment "package-info.java - Can contain a package declaration, package annotations, package comments and Javadoc tags. This file is new in JDK 5.0, and is preferred over package.html." Wayne --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
