ofbiz框架配置问题
org.ofbiz.base.start.StartupException:Cannotstart()org.ofbiz.commons.vfs.CommonsVfsCo...
org.ofbiz.base.start.StartupException: Cannot start() org.ofbiz.commons.vfs.CommonsVfsContainer (Initializing StandardFileSystemManager (Could not load VFS configuration from "file:/D:/object/ofbiz/bin/META-INF/vfs-providers.xml".))
at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:103)
at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263)
at org.ofbiz.base.start.Start.startServer(Start.java:312)
at org.ofbiz.base.start.Start.start(Start.java:316)
at org.ofbiz.base.start.Start.main(Start.java:399)
org.ofbiz.base.container.ContainerException: Initializing StandardFileSystemManager (Could not load VFS configuration from "file:/D:/object/ofbiz/bin/META-INF/vfs-providers.xml".)
at org.ofbiz.commons.vfs.CommonsVfsContainer.start(CommonsVfsContainer.java:48)
at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:101)
at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263)
at org.ofbiz.base.start.Start.startServer(Start.java:312)
at org.ofbiz.base.start.Start.start(Start.java:316)
at org.ofbiz.base.start.Start.main(Start.java:399)
Caused by: org.apache.commons.vfs.FileSystemException: Could not load VFS configuration from "file:/D:/object/ofbiz/bin/META-INF/vfs-providers.xml".
at org.apache.commons.vfs.impl.StandardFileSystemManager.configure(StandardFileSystemManager.java:199)
at org.apache.commons.vfs.impl.StandardFileSystemManager.configurePlugins(StandardFileSystemManager.java:156)
at org.apache.commons.vfs.impl.StandardFileSystemManager.init(StandardFileSystemManager.java:129)
at org.webslinger.commons.vfs.VFSUtil.createStandardFileSystemManager(VFSUtil.java:351)
at org.webslinger.commons.vfs.VFSUtil.createStandardFileSystemManager(VFSUtil.java:345)
at org.ofbiz.commons.vfs.CommonsVfsContainer.start(CommonsVfsContainer.java:43)
... 5 more
Caused by: org.apache.commons.vfs.FileSystemException: Multiple providers registered for URL scheme "ofbiz-home".
at org.apache.commons.vfs.impl.DefaultFileSystemManager.addProvider(DefaultFileSystemManager.java:174)
at org.apache.commons.vfs.impl.StandardFileSystemManager.addProvider(StandardFileSystemManager.java:362)
at org.apache.commons.vfs.impl.StandardFileSystemManager.configure(StandardFileSystemManager.java:262)
at org.apache.commons.vfs.impl.StandardFileSystemManager.configure(StandardFileSystemManager.java:195)
... 10 more
OFBIZ框架启动的时候,老抱这个错,求助 展开
at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:103)
at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263)
at org.ofbiz.base.start.Start.startServer(Start.java:312)
at org.ofbiz.base.start.Start.start(Start.java:316)
at org.ofbiz.base.start.Start.main(Start.java:399)
org.ofbiz.base.container.ContainerException: Initializing StandardFileSystemManager (Could not load VFS configuration from "file:/D:/object/ofbiz/bin/META-INF/vfs-providers.xml".)
at org.ofbiz.commons.vfs.CommonsVfsContainer.start(CommonsVfsContainer.java:48)
at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:101)
at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263)
at org.ofbiz.base.start.Start.startServer(Start.java:312)
at org.ofbiz.base.start.Start.start(Start.java:316)
at org.ofbiz.base.start.Start.main(Start.java:399)
Caused by: org.apache.commons.vfs.FileSystemException: Could not load VFS configuration from "file:/D:/object/ofbiz/bin/META-INF/vfs-providers.xml".
at org.apache.commons.vfs.impl.StandardFileSystemManager.configure(StandardFileSystemManager.java:199)
at org.apache.commons.vfs.impl.StandardFileSystemManager.configurePlugins(StandardFileSystemManager.java:156)
at org.apache.commons.vfs.impl.StandardFileSystemManager.init(StandardFileSystemManager.java:129)
at org.webslinger.commons.vfs.VFSUtil.createStandardFileSystemManager(VFSUtil.java:351)
at org.webslinger.commons.vfs.VFSUtil.createStandardFileSystemManager(VFSUtil.java:345)
at org.ofbiz.commons.vfs.CommonsVfsContainer.start(CommonsVfsContainer.java:43)
... 5 more
Caused by: org.apache.commons.vfs.FileSystemException: Multiple providers registered for URL scheme "ofbiz-home".
at org.apache.commons.vfs.impl.DefaultFileSystemManager.addProvider(DefaultFileSystemManager.java:174)
at org.apache.commons.vfs.impl.StandardFileSystemManager.addProvider(StandardFileSystemManager.java:362)
at org.apache.commons.vfs.impl.StandardFileSystemManager.configure(StandardFileSystemManager.java:262)
at org.apache.commons.vfs.impl.StandardFileSystemManager.configure(StandardFileSystemManager.java:195)
... 10 more
OFBIZ框架启动的时候,老抱这个错,求助 展开
1个回答
展开全部
在jdk从1.5升级到1.6的时候控制台出现莫名其妙的错误,
解决办法
把\framework\base\config\ofbiz-containers.xml中的这两行注释掉:
<container name="commons-vfs-container" class="org.ofbiz.commons.vfs.CommonsVfsContainer"/>
<container name="webslinger-container" class="org.ofbiz.webslinger.WebslingerContainer"/>
解决办法
把\framework\base\config\ofbiz-containers.xml中的这两行注释掉:
<container name="commons-vfs-container" class="org.ofbiz.commons.vfs.CommonsVfsContainer"/>
<container name="webslinger-container" class="org.ofbiz.webslinger.WebslingerContainer"/>
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
浙江启扬智能科技有限公司
2023-06-12 广告
2023-06-12 广告
在嵌入式开发中,建立交叉开发环境可以提高开发效率和代码质量。以下是建立交叉开发环境的一些原因:1. 硬件资源限制:嵌入式系统的硬件资源,如处理器主频、内存容量等,相对于PC机来说较为有限。利用PC机进行开发可以利用更快的硬件设备,提高开发效...
点击进入详情页
本回答由浙江启扬智能科技有限公司提供
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询