This week's giveaway is in the Threads forum.
We're giving away four copies of Java Concurrency Live Lessons and have Doug Schmidt on-line!
See this thread for details.
Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Javadoc @see tag problem  RSS feed

 
Manohar Karamballi
Ranch Hand
Posts: 227
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am facing coua problem with Javadoc usage.
In one of my classes I have @see tag as follows.

/**
*
* @see java.beans.Introspector
*/

When i try running ant script for javadoc am getting following warning,

[javadoc] javadoc: warning - Tag @see: Class or Package not found: java.beans.Introspector

My ant script for javadoc task containing following element.
<link href="http://java.sun.com/j2se/1.4/docs/api/" offline="true"<br /> packagelistLoc="${j2seDoc}"/>
where $j2sedoc is pointing to doc directory containing package-list file.

If everything is fine, I am expecting that my class not found problem for @see tag is resolved, But that's not happening.

Please suggest me where I am doing wrong.

Thanks ina advance,
Manohar
 
Manohar Karamballi
Ranch Hand
Posts: 227
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I figured out solution..

Solution is
while importing instead of importing like import java.beans.* import like java.beans.Introspector...

This will help javadoc to find Introspector ....

This worked for me though it's crazy way of doing things

:-)
Manohar
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36463
464
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Manohar,
Wow! Thanks for posting the solution. I would never have thought to try that.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!