<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://wiki.riguz.com/index.php?action=history&amp;feed=atom&amp;title=Ofbiz%3A%E5%AF%BC%E5%85%A5Eclipse</id>
	<title>Ofbiz:导入Eclipse - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.riguz.com/index.php?action=history&amp;feed=atom&amp;title=Ofbiz%3A%E5%AF%BC%E5%85%A5Eclipse"/>
	<link rel="alternate" type="text/html" href="https://wiki.riguz.com/index.php?title=Ofbiz:%E5%AF%BC%E5%85%A5Eclipse&amp;action=history"/>
	<updated>2026-06-02T23:52:35Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>https://wiki.riguz.com/index.php?title=Ofbiz:%E5%AF%BC%E5%85%A5Eclipse&amp;diff=1317&amp;oldid=prev</id>
		<title>imported&gt;Soleverlee：​以“执行ant load-demo后，可以通过ant start来运行。但是可以导入到eclipse里面来，便于调试。  从eclipse中导入已有工程。然后找到fram...”为内容创建页面</title>
		<link rel="alternate" type="text/html" href="https://wiki.riguz.com/index.php?title=Ofbiz:%E5%AF%BC%E5%85%A5Eclipse&amp;diff=1317&amp;oldid=prev"/>
		<updated>2015-09-16T15:19:00Z</updated>

		<summary type="html">&lt;p&gt;以“执行ant load-demo后，可以通过ant start来运行。但是可以导入到eclipse里面来，便于调试。  从eclipse中导入已有工程。然后找到fram...”为内容创建页面&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;执行ant load-demo后，可以通过ant start来运行。但是可以导入到eclipse里面来，便于调试。&lt;br /&gt;
&lt;br /&gt;
从eclipse中导入已有工程。然后找到framework/start/start里面的Start.java，运行即可。&lt;br /&gt;
默认导入进来后运行会报错：&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Start.java using configuration file org/ofbiz/base/start/start.properties&lt;br /&gt;
Set OFBIZ_HOME to - C:/_Workspace/apache-ofbiz-13.07.02&lt;br /&gt;
Admin socket configured on - /127.0.0.1:10523&lt;br /&gt;
Can&amp;#039;t load ESAPI properties from classpath, trying FileIO&lt;br /&gt;
The LOG-LEVEL property in the ESAPI properties file is not defined.&lt;br /&gt;
Exception in thread &amp;quot;main&amp;quot; java.lang.ExceptionInInitializerError&lt;br /&gt;
	at org.ofbiz.base.util.Debug.&amp;lt;clinit&amp;gt;(Debug.java:79)&lt;br /&gt;
	at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:73)&lt;br /&gt;
	at org.ofbiz.base.start.Start.initStartLoaders(Start.java:273)&lt;br /&gt;
	at org.ofbiz.base.start.Start.init(Start.java:241)&lt;br /&gt;
	at org.ofbiz.base.start.Start.main(Start.java:127)&lt;br /&gt;
Caused by: java.util.MissingResourceException: Can&amp;#039;t find bundle for base name cache, locale en&lt;br /&gt;
	at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1499)&lt;br /&gt;
	at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1322)&lt;br /&gt;
	at java.util.ResourceBundle.getBundle(ResourceBundle.java:721)&lt;br /&gt;
	at org.ofbiz.base.util.cache.UtilCache.setPropertiesParams(UtilCache.java:215)&lt;br /&gt;
	at org.ofbiz.base.util.cache.UtilCache.setPropertiesParams(UtilCache.java:211)&lt;br /&gt;
	at org.ofbiz.base.util.cache.UtilCache.&amp;lt;init&amp;gt;(UtilCache.java:139)&lt;br /&gt;
	at org.ofbiz.base.util.cache.UtilCache.createUtilCache(UtilCache.java:1039)&lt;br /&gt;
	at org.ofbiz.base.util.UtilProperties.&amp;lt;clinit&amp;gt;(UtilProperties.java:72)&lt;br /&gt;
	... 5 more&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
解决方法：&lt;br /&gt;
&lt;br /&gt;
在build path 里的Add class folder加上framework/base/configframework/,base/cert,framework/base/dtd三个目录，重新运行即可。&lt;br /&gt;
[[Category:Programe]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Soleverlee</name></author>
	</entry>
</feed>