You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (JIRA)" <ji...@apache.org> on 2013/12/11 14:14:07 UTC
[jira] [Comment Edited] (WW-4255) Missing interface
org/apache/struts2/views/TagLibrary
[ https://issues.apache.org/jira/browse/WW-4255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13845379#comment-13845379 ]
Lukasz Lenart edited comment on WW-4255 at 12/11/13 1:13 PM:
-------------------------------------------------------------
The interface was split into two separated interfaces, see [this|https://svn.apache.org/viewvc?view=revision&revision=r1542808] - thus is related to WW-4243
You must use one of these or both:
https://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/TagLibraryModelProvider.java?view=markup&pathrev=1542808
https://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/TagLibraryDirectiveProvider.java?view=markup&pathrev=1542808
Sorry for that!, Forget to mention that in version notes :-(
was (Author: lukaszlenart):
The interfaces was split into two separated interfaces, see [this|https://svn.apache.org/viewvc?view=revision&revision=r1542808] - thus is related to WW-4243
You must use one of these or both:
https://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/TagLibraryModelProvider.java?view=markup&pathrev=1542808
https://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/TagLibraryDirectiveProvider.java?view=markup&pathrev=1542808
Sorry for that!, Forget to mention that in version notes :-(
> Missing interface org/apache/struts2/views/TagLibrary
> -----------------------------------------------------
>
> Key: WW-4255
> URL: https://issues.apache.org/jira/browse/WW-4255
> Project: Struts 2
> Issue Type: Bug
> Affects Versions: 2.3.16
> Environment: All
> Reporter: Tom Briers
> Priority: Blocker
>
> I just upgraded from version 2.3.15 to version 2.3.16 and my application no longer starts. We use a plugin that needs following interface: org/apache/struts2/views/TagLibrary
> We now get a NoClassDefFoundError
> Was this removed for a certain reason or not?
> Maybe following stacktrace makes it more clear:
> {code}
> 13:59:11,253 ERROR [Dispatcher] Dispatcher initialization failed
> Unable to load configuration. - bean - vfszip:/C:/server/jboss-5.1.0.GA/server/***/deploy/***.war/WEB-INF/lib/struts2-jquery-plugin-3.6.1.jar/struts-plugin.xml:27:125
> at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:70)
> at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:445)
> at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:489)
> at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74)
> at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57)
> -- snip --
> Caused by: Unable to load bean: type:org.apache.struts2.views.TagLibrary class:com.jgeppert.struts2.jquery.views.JqueryTagLibrary - bean - vfszip:/C:/server/jboss-5.1.0.GA/server/***/deploy/***.war/WEB-INF/lib/struts2-jquery-plugin-3.6.1.jar/struts-plugin.xml:27:125
> at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:245)
> at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:102)
> at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:234)
> at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67)
> ... 71 more
> Caused by: java.lang.NoClassDefFoundError: org/apache/struts2/views/TagLibrary
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
> {code}
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)