maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wayne Fay <wayne...@gmail.com>
Subject Re: Maven project can't access class file.
Date Mon, 10 Oct 2011 16:14:52 GMT
> [ERROR]
> \workspaces\workspace-pm\project\src\main\java\com\company\portal\emc\WBEMConstants.java:[9,0]
> cannot access GenericClient [ERROR] file GenericClient.class not found
>
> [ERROR] found   : com.company.portal.common.model.Discovery
> [ERROR] required: Discovery

These errors are coming out of the javac compiler.

Use "mvn -X compile" to see more details. Then copy and paste the
compile line that Maven reports and try that with javac directly. This
may simply be a bug in the javac compiler or something along those
lines OR you will notice something wonky in the classpath provided to
javac that will cause you to adjust your dependencies.

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message