This can be fixed by removing ~/.m2/repository/javax/javaee directory.
Shing Wai Chan
Lloyd L Chambers wrote:
> What's up with this...(and why are we resurrecting old Stats classes?).
>
> [INFO] [hk2:hk2-compile]
> [INFO] Compiling 69 source files to /v3/code/admin/monitor/target/classes
> /v3/code/admin/monitor/src/main/java/com/sun/enterprise/admin/monitor/stats/PWCKeepAliveStats.java:55:
> package javax.management.j2ee.statistics does not exist
> import javax.management.j2ee.statistics.Stats;
> ^
> /v3/code/admin/monitor/src/main/java/com/sun/enterprise/admin/monitor/stats/PWCKeepAliveStats.java:56:
> package javax.management.j2ee.statistics does not exist
> import javax.management.j2ee.statistics.CountStatistic;
> ^
> /v3/code/admin/monitor/src/main/java/com/sun/enterprise/admin/monitor/stats/PWCKeepAliveStats.java:62:
> cannot find symbol
> symbol: class Stats
> public interface PWCKeepAliveStats extends Stats {
> ^
> /v3/code/admin/monitor/src/main/java/com/sun/enterprise/admin/monitor/stats/PWCKeepAliveStats.java:68:
> cannot find symbol
> symbol : class CountStatistic
> location: interface
> com.sun.enterprise.admin.monitor.stats.PWCKeepAliveStats
> public CountStatistic getCountConnections();
> ^
> /v3/code/admin/monitor/src/main/java/com/sun/enterprise/admin/monitor/stats/PWCKeepAliveStats.java:74:
> cannot find symbol
> symbol : class CountStatistic
> location: interface
> com.sun.enterprise.admin.monitor.stats.PWCKeepAliveStats
> public CountStatistic getMaxConnections();
> ^
> /v3/code/admin/monitor/src/main/java/com/sun/enterprise/admin/monitor/stats/PWCKeepAliveStats.java:81:
> cannot find symbol
> symbol : class CountStatistic
> location: interface
> com.sun.enterprise.admin.monitor.stats.PWCKeepAliveStats
> public CountStatistic getCountHits();
> ^
> /v3/code/admin/monitor/src/main/java/com/sun/enterprise/admin/monitor/stats/PWCKeepAliveStats.java:88:
> cannot find symbol
> symbol : class CountStatistic
> location: interface com.sun
>
>
> ---
> Lloyd L Chambers
> lloyd.chambers_at_sun.com <mailto:lloyd.chambers_at_sun.com>
> Sun Microsystems, Inc
>
>
>