Let's try embedding the HTML this time...


     
     

     Forums > JRUN Support > Using JSP
                 [ REFRESH ] 
                 

           
            Thread Title: java.lang.NoSuchMethodError at 
allaire.jrun.jsp.JRunTagLibraryInfo.buildAttributeInfo
            Created On Wednesday 2, May, 2001 5:30 PM 
           

       



            esteam

            Posts: 9
            Joined: Apr 2001 
           Wednesday, May 02, 2001 5:30 PM 
                 
                       
                       
                       
                       
                       
                       

                 

                  Hi,

                  I ever ask for this problem, but I did not put the rigth code (I am 
sorry it is not my code).

                  I have a page that (I think ?) it contains a call to the jrun parser 
(in the JRunTagLibrary ?)
                  here's the code :


                  <%@ taglib uri="jruntags" prefix="jrun" %>
                  ...
                  <jrun:xslt xml=<%=url_xml%> xsl=<%=url_xsl%>/>
                  ...


                  This code produce this error message :

                  500 Internal Server Error
                  /jsp/esteam/myesteam/back_editorial/ajout_article/upload_lang1.jsp:

                  javax.servlet.ServletException: null
                  java.lang.NoSuchMethodError
                  at 
allaire.jrun.jsp.JRunTagLibraryInfo.buildAttributeInfo(JRunTagLibraryInfo.java:237)
                  at 
allaire.jrun.jsp.JRunTagLibraryInfo.buildTagInfo(JRunTagLibraryInfo.java:205)
                  at 
allaire.jrun.jsp.JRunTagLibraryInfo.initialize(JRunTagLibraryInfo.java:169)
                  at allaire.jrun.jsp.JRunTagLibraryInfo.(JRunTagLibraryInfo.java:61)
                  ...


                  can someone can help me please ?
                  esteam 
                 

           

           Top of Form

                   
                 
                       Reply 
                       
                       Quote 
                       
                       Top 
                       
                       Bottom 
                       
                       

                 

           





            aamir

            Posts: 523
            Joined: Apr 2001 
           Wednesday, May 02, 2001 8:45 PM 
                 
                       
                       
                       
                       
                       
                       

                 

                  esteam,

                  Could you show your .xml and .xsl file as well? 

                  -------------------------
                  Younas Aamir 
                 

           

           Top of Form

                   
                 
                       Reply 
                       
                       Quote 
                       
                       Top 
                       
                       Bottom 
                       
                       

                 

           





            esteam

            Posts: 9
            Joined: Apr 2001 
           Thursday, May 03, 2001 4:31 AM 
                 
                       
                       
                       
                       
                       
                       

                 

                  Hi aamir,
                  here's the xml code :

                  <?xml version='1.0' encoding='ISO-8859-1'?>
                  <press_release>
                  <id>71</id>
                  <genre>multimedia</genre>
                  <type>press_release</type>
                  <author>
                  <surname>jerome</surname>
                  <name>mercier</name>
                  </author>
                  <date>jeudi 3 mai 2001</date>
                  <title>titre</title>
                  <nbparagraph>1</nbparagraph>
                  <detail>
                  <paragraph1>
                  <letter>i</letter>
                  <text>uyb iuy </text>
                  </paragraph1>
                  </detail>
                  </press_release>

                  __________________________
                  and here's the xsl code :

                  <?xml version="1.0" encoding="ISO-8859-1"?> 
                  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
                  <xsl:output method="html" indent="yes"/>
                  <xsl:template match="/press_release">
                  <style type="text/css">
                  <xsl:comment>
                  .title { 
font-size:15px;font-family:verdana;font-weight:bold;color:red }
                  .letter { 
font-size:17px;font-family:verdana;font-weight:bold;color:orange }
                  .resume { 
font-size:13px;font-family:arial;font-weight:bold;color:black }
                  .text { font-size:13px;font-family:arial;color:black; 
space-before:12pt; space-after:36pt;line-spacing:36pt }
                  .link_article 
{font-size:13px;font-family:verdana;font-weight:bold;color:blue;text-decoration:underline;
 }
                  .link_retour 
{font-size:12px;font-family:verdana;color:grey;text-decoration:none }
                  </xsl:comment>
                  </style>
                  <table border="0" width="100%" align="center" valign="middle">
                  <tr>
                  <td class="title">
                  <xsl:value-of select='title'/>
                  </td>
                  </tr>
                  <tr>
                  <td class="text">
                  <paragraph space-before="12pt" space-after="36pt" font-weight="bold" 
font-size="24pt" line-spacing="36pt">
                  <font class="letter"><xsl:value-of 
select="detail/paragraph1/letter"/></font>
                  <xsl:value-of select="detail/paragraph1/text"/>
                  </paragraph>
                  </td>
                  </tr>
                  <xsl:for-each select="detail/paragraph1/link">
                  <tr>
                  <td>
                  <a class="link_article" href="{url}"><xsl:value-of 
select="comment"/></a>
                  </td>
                  </tr>
                  </xsl:for-each>
                  <xsl:for-each select="detail/paragraph1/link_ext">
                  <tr>
                  <td>
                  <a class="link_article" href="{url}" target="_blank"><xsl:value-of 
select="comment"/></a>
                  </td>
                  </tr>
                  </xsl:for-each>
                  <xsl:for-each select="detail/paragraph">
                  <tr>
                  <td class="text">
                  <xsl:value-of select="text"/>
                  </td>
                  </tr>
                  <xsl:for-each select="link">
                  <tr>
                  <td>
                  <a class="link_article" href="{url}"><xsl:value-of 
select="comment"/></a>
                  </td>
                  </tr>
                  </xsl:for-each>
                  <xsl:for-each select="link_ext">
                  <tr>
                  <td>
                  <a class="link_article" href="{url}" target="_blank"><xsl:value-of 
select="comment"/></a>
                  </td>
                  </tr>
                  </xsl:for-each>
                  </xsl:for-each>
                  <tr>
                  <td align="center">
                  <img src="{image/url}"></img>
                  </td>
                  </tr>
                  <tr>
                  <td align="center">
                  <xsl:value-of select="image/comment"/>
                  </td>
                  </tr>
                  </table> 
                  </xsl:template>
                  </xsl:stylesheet>

                  _________________________
                  I dont think the error come from the code, because the code
                  work well under jrun on win 98 system.
                  The problem is that it dont work under linux ?

                  Thanks for responding me, anyway,
                  esteam 
                 

           

           Top of Form

                   
                 
                       Reply 
                       
                       Quote 
                       
                       Top 
                       
                       Bottom 
                       
                       

                 

           





            aamir

            Posts: 523
            Joined: Apr 2001 
           Thursday, May 03, 2001 6:01 AM 
                 
                       
                       
                       
                       
                       
                       

                 

                  esteam,


                  You are quite true. I have windows 2000, it runs without error at my 
system. I am very sorry I haven't linex and could not test on it. 

                  -------------------------
                  Younas Aamir 
                 

           

           Top of Form

                   
                 
                       Reply 
                       
                       Quote 
                       
                       Top 
                       
                       Bottom 
                       
                       

                 

           





            esteam

            Posts: 9
            Joined: Apr 2001 
           Thursday, May 03, 2001 6:49 AM 
                 
                       
                       
                       
                       
                       
                       

                 

                  domage :
                  At Esteam, we have plan to buy jrun, but our server work under linux 
and our site is 90% finished...

                  I cant believe that nobody knows linux in this forums ?


                 

           

           Top of Form

                   
                 
                       Reply 
                       
                       Quote 
                       
                       Top 
                       
                       Bottom 
                       
                       

                 

           





            Ben Kelley

            Posts: 6
            Joined: Jul 2001 
           Sunday, November 04, 2001 9:55 PM 
                 
                       
                       
                       
                       
                       
                       

                 

                  aamir,

                  I was getting the same error today with JRun 3.1.16777, Solaris 2.6, 
Java 1.2.2_05.

                  It appears that the problem is caused by a work-around to another 
JRun problem.

                  Our system uses various XML libraries. Because JRun (by default) 
will load classes from its own JAR files before your applications's JAR files we 
modified the java.classpath in local.properites to include things like our copy of 
xerces.jar before {jrun.classpath}. Without this our application does not find the 
classes it needs. (This issue is documented elsewhere.)

                  When I took out these modifications, JSP started working again. 
(Although all of our code that uses the Xerces stuff is now broken.)

                  It seems odd that JRun can't find it given that the class and method 
do in fact exist in jsp.jar. We do not exclude or override jsp.jar in any way, and yet 
with a modified classpath we get the error. With a clean classpath it works (except 
that our application no longer works).

                  - Ben Kelley. 
                 

           

           Top of Form

                   
                 
                       Reply 
                       
                       Quote 
                       
                       Top 
                       
                       Bottom 
                       
                       

                 

           





            BSP

            Posts: 2
            Joined: Feb 2002 
           Monday, February 25, 2002 10:27 PM 
                 
                       
                       
                       
                       
                       
                       
                       
                       

                 

                  I am importing a Node from one document to another. I have to use 
ImportNode on Document before appending the Node as ClildNode in the target Document. 
I am using Xerces library to perform DOM operations.

                  ImportNode api works fine with JServ Servlet Engine. But same code 
on JRun 3.1/3.0 throws java.lang.NoSuchMethodError Exception/Error.

                  Is there any fix for this problem ?

                  Same code works fine (No Error) with JRun 2.3.3.


                  I believe the w3c library shipped with JRun (parser.jar) is not 
compatible (Interface definitions are different. Xerces w3c library have more methods) 
with the w3c library shipped with Xerces. Since w3c library of JRun is in extended 
classpath of JRun it's getting loaded first resulting in java.lang.NoSuchMethodError .

                  Is there any patch / upgrade for this problem.

                  I am using JRun 3.1 Developer edition.

                  Appreciate quick response.

                  Thanks
                  BSP 



                 

           

           Top of Form

                   
                 
                       Reply 
                       
                       Quote 
                       
                       Top 
                       
                       Bottom 
                       
                       

                 

           





            Newsgroup user
            Dan Tran

            Posts: 0
            Joined: Jan 2002 
           Tuesday, February 26, 2002 11:29 AM 
                 
                       
                       
                       
                       
                       
                       

                 

                  remove jaxp.jar and parser.jar from jrun/lib/ext

                  add jaxp.jar 1.1 (from sun) xerces.jar 1.4 from apache
                  to jrun/lib/ext


                  "BSP" <[EMAIL PROTECTED]> wrote in message
                  news:a5evbd$k04$[EMAIL PROTECTED]...
                  > I am importing a Node from one document to another. I have to use
                  ImportNode on Document before appending the Node as ClildNode in the 
target
                  Document. I am using Xerces library to perform DOM operations.
                  >
                  > ImportNode api works fine with JServ Servlet Engine. But same code 
on
                  JRun 3.1/3.0 throws java.lang.NoSuchMethodError Exception/Error.
                  >
                  > Is there any fix for this problem ?
                  >
                  > Same code works fine (No Error) with JRun 2.3.3.
                  >
                  >
                  > I believe the w3c library shipped with JRun (parser.jar) is not 
compatible
                  (Interface definitions are different. Xerces w3c library have more 
methods)
                  with the w3c library shipped with Xerces. Since w3c library of JRun 
is in
                  extended classpath of JRun it's getting loaded first resulting in
                  java.lang.NoSuchMethodError .
                  >
                  > Is there any patch / upgrade for this problem.
                  >
                  > I am using JRun 3.1 Developer edition.
                  >
                  > Appreciate quick response.
                  >
                  > Thanks
                  > BSP
                  >
                  >
                  >
                  > 
                 

           

           Top of Form

                   
                 
                       Reply 
                       
                       Quote 
                       
                       Top 
                       
                       Bottom 
                       
                       

                 

           



                  Forums > JRUN Support > Using JSP
                 [ REFRESH ] 
                 

           

     

 


     �1995-2002 Macromedia, Inc. All rights reserved.
            Accessibility | Privacy policy | Contact us | Site Map



           
           

     

 


______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to