struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Pratt <thechrispr...@gmail.com>
Subject Re: Unable to load configuration. - bean - jar:file:/WEB-INF/lib/struts2-jquery-plugin-3.1.0.jar!/struts-plugin.xml:27:125 Exception
Date Tue, 19 Jul 2011 18:00:31 GMT
Depends whether the source jar contains just the source, or the source and
binaries.  Why do you feel the need to put the source files in the run-time
directory?  It just takes up more time and memory for the JVM to parse the
indexes of useless jar files.
  (*Chris*)

On Tue, Jul 19, 2011 at 10:57 AM, Emi Lu <emilu@encs.concordia.ca> wrote:

>
>
>  Probably because of what the exception says; try removing the extra jar
>> file.
>>
>
> You are Right Dave! I loaded both struts2-jquery-plugin-3.1.0.**jar and
> struts2-jquery-plugin-3.1.0-**source.jar into the project.
>
> The system complained about this. After I remove the source jar. Compiled
> successfully.
>
> Normally, loaded both the .jar and the source jar should not be a problem,
> shouldn't it?
>
> Emi
>
>
>
>
>> On Jul 19, 2011 12:12 PM, "Emi Lu" <emilu@encs.concordia.ca
>> <mailto:emilu@encs.concordia.**ca <emilu@encs.concordia.ca>>> wrote:
>>  > Hello List,
>>  >
>>  > I got the following exception, could someone tell me what cause it?
>>  >
>>  > I am using struts2.2.3 + tiles2.2.2 + springframework3.05 + ognl3.0.2 +
>>  > freemarker2.3.18
>>  >
>>  > Thanks alot!
>>  > Emi
>>  >
>>  > --
>>  >
>>  > SEVERE: Exception starting filter struts2
>>  > Unable to load configuration. - bean -
>>  >
>> jar:file:/WEB-INF/lib/struts2-**jquery-plugin-3.1.0.jar!/**
>> struts-plugin.xml:27:125
>>  > at org.apache.struts2.dispatcher.**Dispatcher.init(Dispatcher.**
>> java:437)
>>  > at
>>  >
>> org.apache.struts2.dispatcher.**ng.InitOperations.**
>> initDispatcher(InitOperations.**java:69)
>>  > at
>>  >
>> org.apache.struts2.dispatcher.**ng.filter.**
>> StrutsPrepareAndExecuteFilter.**init(**StrutsPrepareAndExecuteFilter.**
>> java:51)
>>  > at
>>  >
>> org.apache.catalina.core.**ApplicationFilterConfig.**getFilter(**
>> ApplicationFilterConfig.java:**295)
>>  > at
>>  >
>> org.apache.catalina.core.**ApplicationFilterConfig.**setFilterDef(**
>> ApplicationFilterConfig.java:**422)
>>  > at
>>  >
>> org.apache.catalina.core.**ApplicationFilterConfig.<init>**
>> (ApplicationFilterConfig.java:**115)
>>  > at
>>  >
>> org.apache.catalina.core.**StandardContext.filterStart(**
>> StandardContext.java:4071)
>>  > at
>>  > org.apache.catalina.core.**StandardContext.start(**
>> StandardContext.java:4725)
>>  > at
>>  >
>> org.apache.catalina.manager.**ManagerServlet.start(**
>> ManagerServlet.java:1276)
>>  > at
>>  >
>> org.apache.catalina.manager.**HTMLManagerServlet.start(**
>> HTMLManagerServlet.java:625)
>>  > at
>>  >
>> org.apache.catalina.manager.**HTMLManagerServlet.doGet(**
>> HTMLManagerServlet.java:136)
>>  > at javax.servlet.http.**HttpServlet.service(**HttpServlet.java:617)
>>  > at javax.servlet.http.**HttpServlet.service(**HttpServlet.java:717)
>>  > at
>>  >
>> org.apache.catalina.core.**ApplicationFilterChain.**internalDoFilter(**
>> ApplicationFilterChain.java:**290)
>>  > at
>>  >
>> org.apache.catalina.core.**ApplicationFilterChain.**doFilter(**
>> ApplicationFilterChain.java:**206)
>>  > at
>>  >
>> org.apache.catalina.filters.**CsrfPreventionFilter.doFilter(**
>> CsrfPreventionFilter.java:186)
>>  > at
>>  >
>> org.apache.catalina.core.**ApplicationFilterChain.**internalDoFilter(**
>> ApplicationFilterChain.java:**235)
>>  > at
>>  >
>> org.apache.catalina.core.**ApplicationFilterChain.**doFilter(**
>> ApplicationFilterChain.java:**206)
>>  > at
>>  >
>> org.apache.catalina.core.**StandardWrapperValve.invoke(**
>> StandardWrapperValve.java:233)
>>  > at
>>  >
>> org.apache.catalina.core.**StandardContextValve.invoke(**
>> StandardContextValve.java:191)
>>  > at
>>  >
>> org.apache.catalina.**authenticator.**AuthenticatorBase.invoke(**
>> AuthenticatorBase.java:563)
>>  > at
>>  >
>> org.apache.catalina.core.**StandardHostValve.invoke(**
>> StandardHostValve.java:127)
>>  > at
>>  >
>> org.apache.catalina.valves.**ErrorReportValve.invoke(**
>> ErrorReportValve.java:102)
>>  > at
>>  >
>> org.apache.catalina.core.**StandardEngineValve.invoke(**
>> StandardEngineValve.java:109)
>>  > at
>>  >
>> org.apache.catalina.connector.**CoyoteAdapter.service(**
>> CoyoteAdapter.java:298)
>>  > at
>>  >
>> org.apache.coyote.http11.**Http11Processor.process(**
>> Http11Processor.java:859)
>>  > at
>>  >
>> org.apache.coyote.http11.**Http11Protocol$**Http11ConnectionHandler.**
>> process(Http11Protocol.java:**588)
>>  > at
>> org.apache.tomcat.util.net.**JIoEndpoint$Worker.run(**
>> JIoEndpoint.java:489)
>>  > at java.lang.Thread.run(Thread.**java:662)
>>  > Caused by: Unable to load configuration. - bean -
>>  >
>> jar:file:/WEB-INF/lib/struts2-**jquery-plugin-3.1.0.jar!/**
>> struts-plugin.xml:27:125
>>  > at
>>  >
>> com.opensymphony.xwork2.**config.ConfigurationManager.**getConfiguration(
>> **ConfigurationManager.java:69)
>>  > at
>>  >
>> org.apache.struts2.dispatcher.**Dispatcher.init_**PreloadConfiguration(**
>> Dispatcher.java:380)
>>  > at org.apache.struts2.dispatcher.**Dispatcher.init(Dispatcher.**
>> java:424)
>>  > ... 28 more
>>  > Caused by: Unable to load bean: type:org.apache.struts2.views.**
>> TagLibrary
>>  > class:com.jgeppert.struts2.**jquery.views.JqueryTagLibrary - bean -
>>  >
>> jar:file:/WEB-INF/lib/struts2-**jquery-plugin-3.1.0.jar!/**
>> struts-plugin.xml:27:125
>>  > at
>>  >
>> com.opensymphony.xwork2.**config.providers.**XmlConfigurationProvider.**
>> register(**XmlConfigurationProvider.java:**232)
>>  > at
>>  >
>> org.apache.struts2.config.**StrutsXmlConfigurationProvider**.register(**
>> StrutsXmlConfigurationProvider**.java:101)
>>  > at
>>  >
>> com.opensymphony.xwork2.**config.impl.**DefaultConfiguration.**
>> reloadContainer(**DefaultConfiguration.java:180)
>>  > at
>>  >
>> com.opensymphony.xwork2.**config.ConfigurationManager.**getConfiguration(
>> **ConfigurationManager.java:66)
>>  > ... 30 more
>>  > Caused by: Bean type interface org.apache.struts2.views.**TagLibrary
>> with
>>  > the name sj has already been loaded by bean -
>>  >
>> jar:file:/WEB-INF/lib/struts2-**jquery-plugin-3.1.0-sources.**
>> jar!/struts-plugin.xml:27:125
>>
>>  > - bean -
>>  >
>> jar:file:/WEB-INF/lib/struts2-**jquery-plugin-3.1.0.jar!/**
>> struts-plugin.xml:27:125
>>  > at
>>  >
>> com.opensymphony.xwork2.**config.providers.**XmlConfigurationProvider.**
>> register(**XmlConfigurationProvider.java:**216)
>>  > ... 33 more
>>  >
>>  > ------------------------------**------------------------------**
>> ---------
>>  > To unsubscribe, e-mail: user-unsubscribe@struts.**apache.org<user-unsubscribe@struts.apache.org>
>> <mailto:user-unsubscribe@**struts.apache.org<user-unsubscribe@struts.apache.org>
>> >
>>
>>  > For additional commands, e-mail: user-help@struts.apache.org
>> <mailto:user-help@struts.**apache.org <user-help@struts.apache.org>>
>>  >
>>
>
>
> --
> Emi Lu, ENCS, Concordia University, Montreal H3G 1M8
> emilu@encs.concordia.ca        +1 514 848-2424 x5884
>
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: user-unsubscribe@struts.**apache.org<user-unsubscribe@struts.apache.org>
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message