java liferay_Liferay 6.1开发学习(二):创建一个Portlet工程 | IT人生录

胡老师:你好,我创建过程中,workspace的.log报这个错,但sdk的sdk.log提示创建成功。怎么处理,谢谢。详细错误日志见下:

!ENTRY org.apache.ivyde.eclipse 1 0 2015-10-03 11:23:05.096

!MESSAGE starting IvyDE plugin

!ENTRY org.apache.ivyde.eclipse 1 0 2015-10-03 11:23:05.194

!MESSAGE IvyDE plugin started

!SESSION 2015-10-03 11:24:13.665 ———————————————–

eclipse.buildId=4.4.0.I20140606-1215

java.version=1.8.0_60

java.vendor=Oracle Corporation

BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN

Framework arguments: -product org.eclipse.epp.package.jee.product

Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product

!ENTRY org.eclipse.egit.ui 2 0 2015-10-03 11:24:23.857

!MESSAGE Warning: EGit couldn’t detect the installation path “gitPrefix” of native Git. Hence EGit can’t respect system level

Git settings which might be configured in ${gitPrefix}/etc/gitconfig under the native Git installation directory.

The most important of these settings is core.autocrlf. Git for Windows by default sets this parameter to true in

this system level configuration. The Git installation location can be configured on the

Team > Git > Configuration preference page’s ‘System Settings’ tab.

This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.

!ENTRY com.liferay.ide.project.core 4 0 2015-10-03 11:25:24.840

!MESSAGE Error creating Liferay plugin project.

!STACK 1

org.eclipse.core.runtime.CoreException: Source ‘E:\liferay\myworkspace\.metadata\.plugins\com.liferay.ide.sdk.core\create\1443842716748’ does not exist

at com.liferay.ide.project.core.PluginsSDKProjectProvider.doCreateNewProject(PluginsSDKProjectProvider.java:182)

at com.liferay.ide.project.core.NewLiferayProjectProvider.createNewProject(NewLiferayProjectProvider.java:45)

at com.liferay.ide.project.core.model.NewLiferayPluginProjectOpMethods.execute(NewLiferayPluginProjectOpMethods.java:109)

at com.liferay.ide.project.core.model.NewLiferayPluginProjectOp$Impl.execute(Unknown Source)

at org.eclipse.sapphire.ui.forms.swt.SapphireWizard.performFinish(SapphireWizard.java:370)

at org.eclipse.sapphire.ui.forms.swt.SapphireWizard$3.run(SapphireWizard.java:334)

at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)

Caused by: java.io.FileNotFoundException: Source ‘E:\liferay\myworkspace\.metadata\.plugins\com.liferay.ide.sdk.core\create\1443842716748’ does not exist

at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1298)

at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1191)

at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1160)

at com.liferay.ide.project.core.PluginsSDKProjectProvider.doCreateNewProject(PluginsSDKProjectProvider.java:176)

… 6 more

!SUBENTRY 1 com.liferay.ide.project.core 4 0 2015-10-03 11:25:24.841

!MESSAGE Source ‘E:\liferay\myworkspace\.metadata\.plugins\com.liferay.ide.sdk.core\create\1443842716748’ does not exist

!STACK 0

java.io.FileNotFoundException: Source ‘E:\liferay\myworkspace\.metadata\.plugins\com.liferay.ide.sdk.core\create\1443842716748’ does not exist

at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1298)

at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1191)

at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1160)

at com.liferay.ide.project.core.PluginsSDKProjectProvider.doCreateNewProject(PluginsSDKProjectProvider.java:176)

at com.liferay.ide.project.core.NewLiferayProjectProvider.createNewProject(NewLiferayProjectProvider.java:45)

at com.liferay.ide.project.core.model.NewLiferayPluginProjectOpMethods.execute(NewLiferayPluginProjectOpMethods.java:109)

at com.liferay.ide.project.core.model.NewLiferayPluginProjectOp$Impl.execute(Unknown Source)

at org.eclipse.sapphire.ui.forms.swt.SapphireWizard.performFinish(SapphireWizard.java:370)

at org.eclipse.sapphire.ui.forms.swt.SapphireWizard$3.run(SapphireWizard.java:334)

at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值