- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我们有一个 web 应用程序 (war) 在域模式下成功部署到 JBoss EAP 7.3(使用默认配置文件),但是在独立模式下部署(基于默认的 standalone.xml 配置)它失败了:
14:47:40,342 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 88) MSC000001: Failed to start service jboss.deployment.unit."app.war".undertow-deployment: org.jboss.msc.service.StartException in service jboss.deployment.unit."app.war".undertow-deployment: java.lang.RuntimeException: javax.el.ELException: Provider # Licensed to the Apache Software Foundation (ASF) under one or more not found
at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:81)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
at java.lang.Thread.run(Thread.java:748)
at org.jboss.threads.JBossThread.run(JBossThread.java:485)
Caused by: java.lang.RuntimeException: javax.el.ELException: Provider # Licensed to the Apache Software Foundation (ASF) under one or more not found
at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:254)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:96)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:78)
... 8 more
Caused by: javax.el.ELException: Provider # Licensed to the Apache Software Foundation (ASF) under one or more not found
at javax.el.FactoryFinder.newInstance(FactoryFinder.java:64)
at javax.el.FactoryFinder.find(FactoryFinder.java:103)
at javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:140)
at javax.el.ELUtil.getExpressionFactory(ELUtil.java:185)
at javax.el.ELManager.getExpressionFactory(ELManager.java:38)
at org.apache.jasper.runtime.JspApplicationContextImpl.<init>(JspApplicationContextImpl.java:49)
at org.apache.jasper.runtime.JspApplicationContextImpl.getInstance(JspApplicationContextImpl.java:78)
at org.apache.jasper.runtime.JspFactoryImpl.getJspApplicationContext(JspFactoryImpl.java:218)
at org.wildfly.extension.undertow.deployment.JspInitializationListener.contextInitialized(JspInitializationListener.java:51)
at io.undertow.servlet.core.ApplicationListeners.contextInitialized(ApplicationListeners.java:187)
at io.undertow.servlet.core.DeploymentManagerImpl$1.call(DeploymentManagerImpl.java:217)
at io.undertow.servlet.core.DeploymentManagerImpl$1.call(DeploymentManagerImpl.java:186)
at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42)
at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
at org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1504)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1504)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1504)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1504)
at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:252)
... 10 more
Caused by: java.lang.ClassNotFoundException: # Licensed to the Apache Software Foundation (ASF) under one or more from [Module "deployment.app.war" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:255)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:410)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
at javax.el.FactoryFinder.newInstance(FactoryFinder.java:48)
... 29 more
14:47:40,351 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "app.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"app.war\".undertow-deployment" => "java.lang.RuntimeException: javax.el.ELException: Provider # Licensed to the Apache Software Foundation (ASF) under one or more not found
Caused by: java.lang.RuntimeException: javax.el.ELException: Provider # Licensed to the Apache Software Foundation (ASF) under one or more not found
Caused by: javax.el.ELException: Provider # Licensed to the Apache Software Foundation (ASF) under one or more not found
Caused by: java.lang.ClassNotFoundException: # Licensed to the Apache Software Foundation (ASF) under one or more from [Module \"deployment.app.war\" from Service Module Loader]"}}
在这两种情况下, war 和应用程序配置是相同的。
META-INF/services/javax.el.ExpressionFactory
具有以下内容:
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
org.apache.el.ExpressionFactoryImpl
问题显然是第一行作为实际条目(例如类名)被读取和处理,即使它只是一个注释。
最佳答案
这是 ExpressionFactory
之间的错误/不匹配实现和 ExpressionFactory
提供程序文件 ( META-INF/services/javax.el.ExpressionFactory
)。
ExpressionFactory.newInstance()
method预计使用 JAR 服务 API 来查找实现类的名称:
Use the Services API (as detailed in the JAR specification). If a resource with the name of META-INF/services/javax.el.ExpressionFactory exists, then its first line, if present, is used as the UTF-8 encoded name of the implementation class.
ExpressionFactory
时实现,我发现:
private static String getClassNameServices(final ClassLoader tccl) {
InputStream is = null;
if (tccl == null) {
is = ClassLoader.getSystemResourceAsStream("META-INF/services/javax.el.ExpressionFactory");
}
else {
is = tccl.getResourceAsStream("META-INF/services/javax.el.ExpressionFactory");
}
if (is != null) {
String line = null;
BufferedReader br = null;
InputStreamReader isr = null;
try {
isr = new InputStreamReader(is, "UTF-8");
br = new BufferedReader(isr);
line = br.readLine();
if (line != null && line.trim().length() > 0) {
return line.trim();
}
}
// [...]
}
}
此实现不会忽略注释。
META-INF/services/javax.el.ExpressionFactory
(in jasper-el.jar)实际上看起来像:
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
org.apache.el.ExpressionFactoryImpl
因此,它尝试加载名为“# Licensed to the Apache Software Foundation (ASF) under one or more”的类,但失败了。
META-INF/services/javax.el.ExpressionFactory
像这样的文件:
mkdir -p META-INF/services/
echo org.apache.el.ExpressionFactoryImpl > META-INF/services/javax.el.ExpressionFactory
7z d ./jasper-el.jar META-INF/services/javax.el.ExpressionFactory
jar uf ./jasper-el.jar META-INF/services/javax.el.ExpressionFactory
关于jboss - EAP 7.3 : java. lang.ClassNotFoundException: # 许可给 Apache 软件基金会 (ASF) 一个或多个 - 仅在独立模式下,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66802142/
我看过很多关于 Isabelle 的语法和证明策略的文档。然而,我对它的基础知之甚少。我有几个问题,如果有人能花时间回答,我将不胜感激: 为什么 Isabelle/HOL 不承认不终止的函数?许多其他
清除工作正常,但部分的“照片”选项卡保留在照片上。 我刚刚使用了示例代码 章节: http://foundation.zurb.com/docs/components/section.html 清理:
点击按钮并没有像我认为的那样创建一个下拉列表。有谁知道我在这里做错了什么或者为什么它可能不起作用? dropdown
如何去除 Zurb Foundation 中按钮的背景色? Button → CSS/更少: .button-arrow { background-color: none;
当您购买产品时,我正在尝试创建像 Apple 一样的产品摘要(侧边栏)。我正在使用 Magellan,它似乎会在 960 像素以下的任何宽度处中断页面。可能跟表有关系。我不确定是否会收到任何帮助或建议
我有一个顶栏菜单,但当页面加载时它位于页面中间的某个位置。当我向上滚动时,我将其设置为 sticky,这样当我滚动页面时它就会固定在顶部。我的问题是,如何使顶部栏内的某些元素仅在它已经粘在顶部时才出现
我正在尝试切换 large-8 和 large-4 这两列的位置,我希望在小屏幕上查看页面时文本位于图像下方。 列结构是这样的 div id="roofing">
@player_profile.user %> @player_profile %> 预览 我会做一些类似 Fancy.com
.grid-container的默认宽度是多少?在大屏幕上?我怎样才能改变它并使它变大?正确的做法是什么? 最佳答案 .grid-container 的默认宽度在_settings.css 文件中定义
.grid-container的默认宽度是多少?在大屏幕上?我怎样才能改变它并使它变大?正确的做法是什么? 最佳答案 .grid-container 的默认宽度在_settings.css 文件中定义
我使用的是 zurb foundation v.6,它是 flex 网格,而不是使用 float 的普通网格。我制作了一个页脚,其中有 2 个 div,我希望每个 div 都对齐到自己的末端。这是代码
谁能告诉我为什么我的网格布局中可能会有看似随机的“漏洞”?我正在使用 Zurb Foundation。 尽管这是一个基本的网格布局,但有些列会无缘无故地向右浮动。看起来好像偶尔缺少一篇文章,但如果您查
我在 Zurb Foundation 3 中创建了一个相当典型的布局。这是一行,左边是八列(包含一个 Orbit slider ),然后是右边的广告(“fluke”广告)和盒子的 4 列在广告下方,在
是否可以制作垂直子导航?在文档页面中只有水平的,我找不到如何垂直显示元素 编辑:这里是基础文档的链接:http://foundation.zurb.com/docs/components/subnav
我在我的 react 组件中使用基础 Accordion 。 因此,如果让组件呈现静态 HTML,则此代码可以工作,但是,如果我通过循环执行此操作,则 Accordion 不可单击。 UL react
我试图让显示模式从窗口底部弹出,但我就是无法让它工作,任何帮助都会很棒。 我一直在尝试使用下面的reveal js(原始代码)编辑打开函数。 谢谢 open : function (target, a
在我们的 WordPress 博客上,样式似乎是从 foundation.css 文件继承的。 特别是我们想要更改的标题字体大小。 例如,on this page ,当我们检查元素时,h2 的字体大小
我刚刚复制了示例代码,但无法正常运行。 示例:http://goo.gl/wrw2v 缩略图有不同的大小,当我点击缩略图时,大图像不会改变。 最佳答案 它不是同一个html结构。第二张图片未包裹在
我非常喜欢 Foundation 5,现在我正在尝试使用 Foundation 6 作为我的标准。但是我在响应式切换(导航)方面遇到了问题。如你所见here ,移动导航始终可见且没有内容。 这是我的
好的,这是我的代码笔 http://codepen.io/anon/pen/epbePZ Programs BackPrograms
我是一名优秀的程序员,十分优秀!