Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

javadoc 1.4.2

1 réponse
Avatar
Francis JUGE-BOIRARD
Bonjour à tous,
Avec javadoc 1.4.2, en générant l'aide des classes d'un projet,
j'obtient les trois erreurs suivantes :
D:\java\GAO\src\help\GaoHelp.java:10: package javax.help does not exist
import javax.help.HelpSet;
^
D:\java\GAO\src\help\GaoHelp.java:11: package javax.help does not exist
import javax.help.JHelp;
^
D:\java\GAO\src\help\GaoHelp.java:53: cannot resolve symbol
symbol : class JHelp
location: class help.GaoHelp
JHelp jHelp;
^
- Ces message semble être des problèmes de compilation et pas de
génération de l'aide.
- Ces messages n'empèche en rien la génération de l'aide (y compris les
liens vers l'aide de javaHelp).
- Ces message n'existait pas avec javadoc 1.4.1_xx.

Je n'ai rien vu dans la doc des tools du JDK 1.4.2 qui explique cela.

Merci d'avance.

1 réponse

Avatar
Francis JUGE-BOIRARD
Francis JUGE-BOIRARD wrote:
Autant pour moi correction classpath et tout est OK.
Par contre : soit la méthode :

public static double round (final double value, final int precision)

et le lien javadoc

{@link com.tgmultimedia.util.MathUtil#round(final double value, final
int precision)}.

Les erreurs suivantes sont révélées :
GaoUtil.java:196: warning - Tag @link: can't find round(final double
value, final int precision) in com.tgmultimedia.util.MathUtil
GaoUtil.java:196: warning - Tag @link: can't find round(final double
value, final int precision) in com.tgmultimedia.util.MathUtil
GaoUtil.java:196: warning - Tag @link: can't find round(final double
value, final int precision) in com.tgmultimedia.util.MathUtil
GaoUtil.java:196: warning - Tag @link: can't find round(final double
value, final int precision) in com.tgmultimedia.util.MathUtil

En corrigant le lien comme ci-dessous, tout est OK

{@link com.tgmultimedia.util.MathUtil#round(final double value, final
int precision)}.