liyihz2008 7 лет назад
Родитель
Сommit
f278cfa94f
1 измененных файлов с 8 добавлено и 2 удалено
  1. 8 2
      README.md

+ 8 - 2
README.md

@@ -1,8 +1,8 @@
-##O2OA : Java企业信息化系统
+## O2OA : Java企业信息化系统
 
 O2OA是一款Java开源企业信息化建设平台,包括流程管理、门户管理、信息管理、数据管理和服务管理五大平台。用户可以直接使用平台已有功能进行信息信息化建设,平台提供了完整的用户管理,权限管理,流程和信息管理体系,并且提供了大量的开发组件和开箱即用的应用,可以大大减化企业信息化建设成本和业务应用开发难度。
 
-##产品特点\:
+## 产品特点\:
 
 1. 代码全部开源,开发者可以下载源码进行任意,编译成自己的信息化平台。
 
@@ -61,10 +61,16 @@ O2OA是一款Java开源企业信息化建设平台,包括流程管理、门户
 
 1、打开命令提示工具,cd到o2oa/o2server目录
 
+   cd /usr/o2oa/o2server
+
 2、执行命令进行编译:mvn install,开始进行源码编译
 
+   mvn install
+
 3、打包安装程序: ant
 
+   ant
+
 # 关于编译错误
 第一次使用maven进行项目编译执行 mvn install 可能会发生异常,原因是编译生成的META-INF/persistence.xml来不及加载。这种情况下,您可以再执行一次mvn install即可完成对项目的编译。
 [ERROR] Failed to execute goal org.apache.openjpa:openjpa-maven-plugin:3.0.0:enhance(enhanncer) on project x_base_core_project: Exception enhancer of goal org.apache.openjpa:openjpa-maven-plugin:3.0.0:enhance failed: MetaDataFactory could not be configured (conf.newMetaDataFactoryInstance() returned null). This might mean that no configuration properties were fount. Ensured that you have a META-INF/persistence.xml file, that it is  available in your classpath, or that the properties file you are using for configuration is available. If you are using Ant, please see the <properties> or <propertiesFile> attributes of the task's nested <config> element. This can also occur if your OpenJPA distribution jars are corrupt, or if your security policy is overly strict. -> [Help 1]