IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Taglibs Java Discussion :

Problème de compilation [Custom Tags 1.2]


Sujet :

Taglibs Java

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre averti
    Inscrit en
    Janvier 2007
    Messages
    43
    Détails du profil
    Informations forums :
    Inscription : Janvier 2007
    Messages : 43
    Par défaut Problème de compilation
    Bonjour,

    Au démarrage de mon application, j'ai l'erreur suivante !

    Compilation of JSP File '/index.jsp' failed:
    --------------------------------------------------------------------------------

    index.jsp:7:7: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
    <%@ taglib uri="/WEB-INF/mod-tag.tld" prefix="ichm" %>
    ^----^
    index.jsp:7:7: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
    <%@ taglib uri="/WEB-INF/mod-tag.tld" prefix="ichm" %>
    ^----^
    Mon mod-tag.tld est bien dans mon WEB-INF !

    voici la partie de ma page d'index qui déclare les différentes URI (pour info je n'ai pas d'erreur sur les autres taglib):

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    <html>
    	<head>
    		<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    		<%@ taglib uri="/WEB-INF/sls.tld" prefix="sls" %>
    		<%@ taglib uri="/WEB-INF/mod-tag.tld" prefix="ichm" %>
    		<%@ taglib uri="/WEB-INF/con-tag.tld" prefix="sCon" %>
    D'où pourrait venir une erreur pareil ?
    Merci pour votre aide

  2. #2
    Expert confirmé

    Femme Profil pro
    Inscrit en
    Juillet 2005
    Messages
    5 793
    Détails du profil
    Informations personnelles :
    Sexe : Femme
    Localisation : France

    Informations forums :
    Inscription : Juillet 2005
    Messages : 5 793
    Par défaut
    Peux-tu montrer le code de la tld ?

  3. #3
    Membre averti
    Inscrit en
    Janvier 2007
    Messages
    43
    Détails du profil
    Informations forums :
    Inscription : Janvier 2007
    Messages : 43
    Par défaut
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE taglib
      PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
      "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
     
    <taglib>
     
    	<!-- ============== Tag Library Description Elements ============= -->
     
    	<tlibversion>1.0</tlibversion>
    	<jspversion>1.1</jspversion>
    	<shortname>IchIhm Tag Library</shortname>
     
    	<!-- ============== Tag de pagination ============= -->
    	<tag>
    		<name>pagination</name>
    		<tagclass>
    			com.project.ich.ihm.pagination.tag.PaginationTag
    		</tagclass>
    		<bodycontent>empty</bodycontent>
    		<attribute>
    			<name>beanName</name>
    			<required>true</required>
    			<rtexprvalue>false</rtexprvalue>
    		</attribute>
    		<attribute>
    			<name>paramName</name>
    			<required>true</required>
    			<rtexprvalue>false</rtexprvalue>
    		</attribute>
    		<attribute>
    			<name>action</name>
    			<required>true</required>
    			<rtexprvalue>false</rtexprvalue>
    		</attribute>
    		<attribute>
    			<name>resource</name>
    			<required>true</required>
    			<rtexprvalue>false</rtexprvalue>
    		</attribute>
    		<attribute>
    			<name>pageStyle</name>
    			<required>false</required>
    			<rtexprvalue>false</rtexprvalue>
    		</attribute>
    	</tag>
     
    	<!-- ============== Tag de menu ============= -->
    	<tag>
    		<name>menu</name>
    		<tagclass>com.project.ich.ihm.menu.tag.MenuTag</tagclass>
    		<bodycontent>tagdependent</bodycontent>
    		<attribute>
    			<name>menuPage</name>
    			<required>true</required>
    			<rtexprvalue>false</rtexprvalue>
    		</attribute>
    		<attribute>
    			<name>menuActif</name>
    			<required>false</required>
    			<rtexprvalue>false</rtexprvalue>
    		</attribute>
    		<attribute>
    			<name>itemActif</name>
    			<required>false</required>
    			<rtexprvalue>false</rtexprvalue>
    		</attribute>
    		<attribute>
    			<name>loaderMenu</name>
    			<required>false</required>
    			<rtexprvalue>false</rtexprvalue>
    		</attribute>
    	</tag>
     
    	<!-- ============== Tag de la toolbar ============= -->
    	<tag>
    		<name>toolbar</name>
    		<tagclass>com.project.ich.ihm.menu.tag.ToolBarTag</tagclass>
    		<bodycontent>JSP</bodycontent>
    		<attribute>
    			<name>loaderMenu</name>
    			<required>false</required>
    			<rtexprvalue>false</rtexprvalue>
    		</attribute>
    	</tag>
     
    	<!-- ============== Tag de gestion du chemin ============= -->
    	<tag>
    		<name>chemin</name>
    		<tagclass>com.project.ich.ihm.menu.tag.CheminTag</tagclass>
    		<bodycontent>JSP</bodycontent>
    		<attribute>
    			<name>loaderMenu</name>
    			<required>false</required>
    			<rtexprvalue>false</rtexprvalue>
    		</attribute>
    	</tag>
     
    	<!-- ============== Tag de gestion de context ============= -->
    	<tag>
    		<name>context</name>
    		<tagclass>com.project.ich.ihm.menu.tag.ContextTag</tagclass>
    		<bodycontent>JSP</bodycontent>
    		<attribute>
    			<name>resource</name>
    			<required>true</required>
    			<rtexprvalue>false</rtexprvalue>
    		</attribute>
    		<attribute>
    			<name>imageTitre</name>
    			<required>true</required>
    			<rtexprvalue>false</rtexprvalue>
    		</attribute>
    		<attribute>
    			<name>colonnes</name>
    			<required>true</required>
    			<rtexprvalue>false</rtexprvalue>
    		</attribute>
    		<attribute>
    			<name>largeur</name>
    			<required>false</required>
    			<rtexprvalue>false</rtexprvalue>
    		</attribute>
    	</tag>
     
    	<tag>
    		<name>contextitem</name>
    		<tagclass>com.project.ich.ihm.menu.tag.ContextItemTag</tagclass>
    		<bodycontent>JSP</bodycontent>
    		<attribute>
    			<name>libelle</name>
    			<required>true</required>
    			<rtexprvalue>true</rtexprvalue>
    		</attribute>
     
    		<attribute>
    			<name>valeur</name>
    			<required>true</required>
    			<rtexprvalue>true</rtexprvalue>
    		</attribute>
     
    	</tag>
     
    	<!-- ============= Tag des items ==================== -->
     
    	<tag>
    		<name>item</name>
    		<tagclass>com.project.ich.ihm.menu.tag.ItemTag</tagclass>
    		<bodycontent>empty</bodycontent>
    		<attribute>
    			<name>name</name>
    			<required>false</required>
    			<rtexprvalue>false</rtexprvalue>
    		</attribute>
    		<attribute>
    			<name>desc</name>
    			<required>false</required>
    			<rtexprvalue>false</rtexprvalue>
    		</attribute>
    		<attribute>
    			<name>label</name>
    			<required>false</required>
    			<rtexprvalue>true</rtexprvalue>
    		</attribute>
    		<attribute>
    			<name>link</name>
    			<required>false</required>
    			<rtexprvalue>true</rtexprvalue>
    		</attribute>
    		<attribute>
    			<name>linkParam</name>
    			<required>false</required>
    			<rtexprvalue>true</rtexprvalue>
    		</attribute>
    		<attribute>
    			<name>alt</name>
    			<required>false</required>
    			<rtexprvalue>true</rtexprvalue>
    		</attribute>
    		<attribute>
    			<name>img</name>
    			<required>false</required>
    			<rtexprvalue>true</rtexprvalue>
    		</attribute>
    	</tag>
     
    	<tag>
    		<name>separator</name>
    		<tagclass>com.project.ich.ihm.menu.tag.SeparatorTag</tagclass>
    	</tag>
     
     
     
    </taglib>

  4. #4
    Membre averti
    Inscrit en
    Janvier 2007
    Messages
    43
    Détails du profil
    Informations forums :
    Inscription : Janvier 2007
    Messages : 43
    Par défaut
    Bonjour,

    Problème résolu
    En fait weblogic pointai vers un autre war auquel manquait cette .tld.

    Merci pour l'aide

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. problème de compilation sous visual C++
    Par fabmili dans le forum MFC
    Réponses: 4
    Dernier message: 08/02/2004, 19h52
  2. problème de compil devc++ socket
    Par stefdem dans le forum Autres éditeurs
    Réponses: 2
    Dernier message: 11/12/2003, 11h33
  3. Réponses: 1
    Dernier message: 29/10/2003, 12h16
  4. Problème de compilation de la DLL du XMLRad
    Par [DreaMs] dans le forum XMLRAD
    Réponses: 2
    Dernier message: 16/04/2003, 16h46
  5. Réponses: 1
    Dernier message: 27/05/2002, 01h44

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo