Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Weblogic Error - Spring tags

  1. #1

    Default Weblogic Error - Spring tags

    I'm getting an error when i try to access a page with spring taglibs.
    During the deploy there are not any error.

    Error:

    personAdd.jsp:2:5: 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="http://www.springframework.org/tags/form" prefix="form" %>


    Weblogic: 12c
    Sts: 2.9.1

    Has anyone had this error ??


    i already read some solutions in foruns like add this at weblogic.xml but doesn't work:

    Code:
     <wls:container-descriptor>
    		<wls:prefer-web-inf-classes>true</wls:prefer-web-inf-classes>
    	</wls:container-descriptor>
        <wls:container-descriptor>
            <wls:index-directory-enabled>true</wls:index-directory-enabled>
        </wls:container-descriptor>
    Here is a prinscreen from error
    Capture.JPG

  2. #2

    Default

    I'm the only one with this problem? i tried with other versions of weblogic but the problem persist...
    I'm a bit stuck now with spring because of this..

  3. #3
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,650

    Default

    Hey!

    Did you try to deploy your app without STS, just to see if this is a STS deployment related problem or something else?

    -Martin
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

  4. #4
    Join Date
    Jan 2013
    Posts
    4

    Default

    Hi I am also getting problem deploying with STS on Weblogic 12c. When using Eclipse its working fine (My college is able to deploy with eclipse 3.8 on weblogic)

  5. #5
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,650

    Default

    Hey!

    Do you have any more details for me? I guess you installed some extension/plugin to work with Weblogic, is that correct? And is there maybe anything showing up in the error log? What happens exactly when you drag&drop your app on the Weblogic server in your Servers view inside STS?

    -Martin
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

  6. #6
    Join Date
    Jan 2013
    Posts
    4

    Default

    Hi,

    I Have downloaded Oracle Enterprise pack for eclipse Indigo from this update site http://download.oracle.com/otn_software/oepe/indigo

    Using this I am able to configure Weblogic 12c with STS.

    I do now see anything strange while publishing, but when server application getting launched that time getting error failed to compile JSP with above error... I am pasting some log file entries...

    ************
    ####<Jan 17, 2013 5:30:31 PM IST> <Info> <Deployer> <KUHANDA-LAP> <AdminServer> <[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1358424031997> <BEA-149074> <Successfully completed deployment task: [Deployer:149026]start application _auto_generated_ear_ on AdminServer..>
    ####<Jan 17, 2013 5:30:33 PM IST> <Info> <ServletContext-/TokyoUI> <KUHANDA-LAP> <AdminServer> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1358424033239> <BEA-000000> <JspServlet: param verbose initialized to: true>
    ####<Jan 17, 2013 5:30:33 PM IST> <Info> <ServletContext-/TokyoUI> <KUHANDA-LAP> <AdminServer> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1358424033239> <BEA-000000> <JspServlet: param packagePrefix initialized to: jsp_servlet>
    ####<Jan 17, 2013 5:30:33 PM IST> <Info> <ServletContext-/TokyoUI> <KUHANDA-LAP> <AdminServer> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1358424033239> <BEA-000000> <JspServlet: param compilerclass initialized to: null>
    ####<Jan 17, 2013 5:30:33 PM IST> <Info> <ServletContext-/TokyoUI> <KUHANDA-LAP> <AdminServer> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1358424033240> <BEA-000000> <JspServlet: param compileCommand initialized to: javac>
    ####<Jan 17, 2013 5:30:33 PM IST> <Info> <ServletContext-/TokyoUI> <KUHANDA-LAP> <AdminServer> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1358424033240> <BEA-000000> <JspServlet: param compilerval initialized to: javac>
    ####<Jan 17, 2013 5:30:33 PM IST> <Info> <ServletContext-/TokyoUI> <KUHANDA-LAP> <AdminServer> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1358424033240> <BEA-000000> <JspServlet: param pageCheckSeconds initialized to: 1>
    ####<Jan 17, 2013 5:30:33 PM IST> <Info> <ServletContext-/TokyoUI> <KUHANDA-LAP> <AdminServer> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1358424033240> <BEA-000000> <JspServlet: param encoding initialized to: null>
    ####<Jan 17, 2013 5:30:33 PM IST> <Info> <ServletContext-/TokyoUI> <KUHANDA-LAP> <AdminServer> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1358424033240> <BEA-000000> <JspServlet: param superclass initialized to null>
    ####<Jan 17, 2013 5:30:33 PM IST> <Info> <ServletContext-/TokyoUI> <KUHANDA-LAP> <AdminServer> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1358424033243> <BEA-000000> <JspServlet: param workingDir initialized to: C:\Oracle\Middleware\user_projects\domains\domain1 \servers\AdminServer\tmp\_WL_user\_auto_generated_ ear_\4ef9yq>
    ####<Jan 17, 2013 5:30:33 PM IST> <Info> <ServletContext-/TokyoUI> <KUHANDA-LAP> <AdminServer> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1358424033244> <BEA-000000> <JspServlet: initialization complete>
    ####<Jan 17, 2013 5:30:35 PM IST> <Info> <ServletContext-/TokyoUI> <KUHANDA-LAP> <AdminServer> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1358424035246> <BEA-000000> <login.jsp:3:5: 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="http://www.springframework.org/tags/form" prefix="form"%>
    ^----^
    login.jsp:3:5: 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="http://www.springframework.org/tags/form" prefix="form"%>
    ^----^
    ************

    Same configuration my collegue is able to run fine... another difference other than eclipse is weblogic version as well (he is running app on weblogic 10) I am trying to see if deploying my configuration on weblogic 10 works or not... Just to isolate eclipse / STS and server issue.

    Regards

  7. #7
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,650

    Default

    Hey!

    Did you try to remove the space between @ and taglib? Maybe that helps...

    Cheers,
    -Martin
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

  8. #8
    Join Date
    Jan 2013
    Posts
    4

    Default

    Ya tried that already..

  9. #9
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,650

    Default

    Hey!

    Maybe it is related to this:
    http://forum.springsource.org/showth...ot-be-resolved

    -Martin
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

  10. #10
    Join Date
    Jan 2013
    Posts
    4

    Default

    Ok.. some more info... If I have deploying the war file to the weblogic using weblogic admin tool I am able to run the render the jsp properly... But when I am using STS then I am having the problem.

    Project -> Run as -> Run on Server option is failing while rendering the jsp.

    More or less I feel this might be class path problem with my project... I will do some more investigation and post the result.

    In mean while I have checked above link as well.. Seems like I have all the files in the pom.xml... I will investigate further.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •