-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
启动出错 #26
Comments
你的路径可能包含汉字,还有你的问题不够详细,请贴上完整的启动日志 |
第一点的错误日志: 我找到了对应的源代码:
但我下载你的源码里的确没org.xml这个文件,是自动会生成的? 第2个异常具体日志: 还请再指教一下如果解决这些问题,感谢! |
目录没使用中文了,Git下载最新源代码, |
首先,确保你是按照 https://github.com/ysc/APDPlat/wiki/%E5%A6%82%E4%BD%95%E5%9C%A8eclipse%E4%B8%8B%E5%BC%80%E5%8F%91 的描述来做的。 |
因我有安装m2eclipse,并希望试用maven管理项目结构,故直接导入从GIT下载的源代码。除WEB项目外,其余2个项目都可以修改并编译通过。还请帮检查下是什么问题,感谢!以下是完整的日志记录: [INFO] Scanning for projects... 2013-07-12 13:53:59,166 [main] INFO [org.apdplat.module.system.service.PropertyHolder] - 装入主配置文件:/org/apdplat/config.properties |
内容太长,提交不成功,下面接着后面的: 2013-07-12 13:54:07,990 [main] INFO [org.apdplat.module.module.service.register.RegisteModule] - 找到以前导入的根模块: 功能菜单 |
从你最后贴的日志 [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ 我才发现你运行的是 jetty:run ,而我在 如何在eclipse下开发:https://github.com/ysc/APDPlat/wiki/%E5%A6%82%E4%BD%95%E5%9C%A8eclipse%E4%B8%8B%E5%BC%80%E5%8F%91 中明确要求是要运行 jetty:run-war 的 |
初始输出应该是这样的 |
OK,可以运行了,看来对命令使用还不够熟悉,非常感谢! |
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dicService': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serviceFacade': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daoFacade': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/apdplat/spring.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Unable to get the default Bean Validation factory |
搞定了,估计那步骤部署出问题了,打扰 |
启动有2种异常:
1、/data/org.xml 找不到。我获取的最新源码,并且找了文件里的确没这个文件。
2、 ERROR [org.springframework.web.context.ContextLoader] - Context initialization failed
java.lang.IllegalArgumentException: org.hibernate.hql.ast.QuerySyntaxException: IndexScheduleConfig is not mapped [select o from IndexScheduleConfig o order by o.id desc
请帮看看是什么原因,谢谢!搭建了好久都搭建不成功。。。
The text was updated successfully, but these errors were encountered: