I sent this to the mailing list and was pointed to this jira ticket. I can generate my javadocs with mvn javadoc:javadoc but running site:run and browsing to the site causes the exceptions below. I wonder if it has something to do with the classloader for the embedded servlet container.
> /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 sent this to the mailing list and was pointed to this jira ticket. I can generate my javadocs with mvn javadoc:javadoc but running site:run and browsing to the site causes the exceptions below. I wonder if it has something to do with the classloader for the embedded servlet container.
> /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;
> ^
>