ex:
2007/11/25 上午 01:44:29 org.apache.catalina.util.ExtensionValidator validateManifestResources
資訊: ExtensionValidator[/project.web]: Failure to find 4 required extension(s).
2007/11/25 上午 01:44:29 org.apache.catalina.core.StandardContext start
嚴重的: Error getConfigured
2007/11/25 上午 01:44:29 org.apache.catalina.core.StandardContext start
嚴重的: Context [/project.web] startup failed due to previous errors
原因可能是 commons-attributes-compiler.jar 所造成的
可以嘗試把這個 jar 移走, 或修改它的 META-INF/MANIFEST.MF
---------------------------------------------------------------
from: http://forum.springframework.org/archive/index.php/t-28233.html
I think the problem is located in the commons-attributes-*.jar build process.
Check META-INF/MANIFEST.MF in both "commons-attributes-api.jar" and "commons-attributes-compiler.jar".
Every extension Implementation URL contains blank spaces and carry returns!
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.5.3
Created-By: Apache Maven
Built-By: hen
Package: org.apache.commons.attributes
Build-Jdk: 1.4.2_05
Extension-Name: commons-attributes-api
Specification-Title: Client API for Jakarta Commons Attributes.
Specification-Vendor: The Apache Software Foundation
Implementation-Title: org.apache.commons.attributes
Implementation-Vendor: The Apache Software Foundation
Implementation-Version: 2.2
Extension-List: ant qdox
ant-Extension-Name: ant
ant-Implementation-Version: 1.5
ant-Implementation-URL: http://www.ibiblio.org/maven/ant/jars/ant-1.5.
jar
qdox-Extension-Name: qdox
qdox-Implementation-Version: 1.5
qdox-Implementation-URL: http://www.ibiblio.org/maven/qdox/jars/qdox-1
.5.jar
Implementation-Vendor-Id: org.apache
X-Compile-Source-JDK: 1.4
X-Compile-Target-JDK: 1.4
Edit the manifest files removing those characters so the implementation URLs are just in one line. It might looks like this:
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.5.3
Created-By: Apache Maven
Built-By: hen
Package: org.apache.commons.attributes
Build-Jdk: 1.4.2_05
Extension-Name: commons-attributes-api
Specification-Title: Client API for Jakarta Commons Attributes.
Specification-Vendor: The Apache Software Foundation
Implementation-Title: org.apache.commons.attributes
Implementation-Vendor: The Apache Software Foundation
Implementation-Version: 2.2
Extension-List: ant qdox
ant-Extension-Name: ant
ant-Implementation-Version: 1.5
ant-Implementation-URL: http://www.ibiblio.org/maven/ant/jars/ant-1.5.jar
qdox-Extension-Name: qdox
qdox-Implementation-Version: 1.5
qdox-Implementation-URL: http://www.ibiblio.org/maven/qdox/jars/qdox-1.5.jar
Implementation-Vendor-Id: org.apache
X-Compile-Source-JDK: 1.4
X-Compile-Target-JDK: 1.4
It worked fine for me.
Sping 2.x 的"Error getConfigured" 的錯誤
最新推荐文章于 2021-08-17 17:02:19 发布