Hello,

I'm encountering a strange problem with the generation of my javadocs report
in the maven site plugin.

If I run mvn javadoc:javadoc it generates the javadocs, but when I run mvn
site:run and browse to the javadocs report I see the following in the
console:


/Users/mangir/work/kids-web-core/src/main/java/com/nickonline/web/filter/rew
rite/DefaultRewriteHandler.java:18: cannot find symbol
symbol  : variable LogFactory
location: class com.nickonline.web.filter.rewrite.DefaultRewriteHandler
    protected static final Log log = LogFactory
                                     ^
java.lang.ClassCastException: com.sun.tools.javadoc.ClassDocImpl cannot be
cast to com.sun.javadoc.AnnotationTypeDoc


And in the browser I get a bunch of messages similar to the following:

HTTP ERROR: 500

Error rendering Maven report: Exit code: 1 -
/Users/mangir/work/kids-web-core/src/main/java/com/nickonline/ir/BaseIR.java
:7: package net.sf.ehcache does not exist
import net.sf.ehcache.CacheManager;
                     ^
/Users/mangir/work/kids-web-core/src/main/java/com/nickonline/ir/BaseIR.java
:18: cannot find symbol
symbol  : class CacheManager
location: interface com.nickonline.ir.BaseIR
    public void setCacheManager(CacheManager cacheManager);
                                ^
/Users/mangir/work/kids-web-core/src/main/java/com/nickonline/ir/BaseIR.java
:19: cannot find symbol
symbol  : class CacheManager
location: interface com.nickonline.ir.BaseIR
    public CacheManager getCacheManager();
           ^
/Users/mangir/work/kids-web-core/src/main/java/com/nickonline/ir/BaseIRImpl.
java:3: package net.sf.ehcache does not exist
import net.sf.ehcache.CacheManager;
                     ^
/Users/mangir/work/kids-web-core/src/main/java/com/nickonline/ir/BaseIRImpl.
java:5: package org.apache.commons.logging does not exist
import org.apache.commons.logging.Log;
                                 ^
/Users/mangir/work/kids-web-core/src/main/java/com/nickonline/ir/BaseIRImpl.
java:6: package org.apache.commons.logging does not exist
import org.apache.commons.logging.LogFactory;
                                 ^

I'm pretty stumped on this. If I run 


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

Reply via email to