我的项目信息如下:
<groupId>com.entreprise.myprofile</groupId>
<artifactId>myProfile</artifactId>
当我构建我的项目时,我在目标文件夹下有以下结构:
target > classes > com > entreprise > myProfile
(用大写字母P)而不是:
target > classes > com > entreprise > myprofile
结果(当“自动构建”开启时)它会不断地重复建立(永不停止),认为它的某些东西还没有建成。
如果我将项目名称更改为小写并从原型生成,我没有问题。
然后看起来我在某处遇到了字符串错误,但我无法弄清楚它在哪里。
这是我到目前为止所做的:
当我从eclipse或命令提示符执行“Maven安装”时,我得到:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project myProfileBusiness: Compilation failure: Compilation failure:
[ERROR] \workspace_myprofile\myProfileBusiness\target\filtered-sources\com\entreprise\myprofile\business\services\MyProfileService.java:[12,36] package com.entreprise.myprofile.dao does not exist
[ERROR] \workspace_myprofile\myProfileBusiness\target\filtered-sources\com\entreprise\myprofile\business\services\MyProfileService.java:[34,15] cannot find symbol
[ERROR] symbol : class IProfileDataDAO
[ERROR] location: class com.entreprise.myprofile.business.services.MyProfileService
[ERROR] \workspace_myprofile\myProfileBusiness\target\filtered-sources\com\entreprise\myprofile\business\services\MyProfileService.java:[39,31] cannot find symbol
[ERROR] symbol : class IProfileDataDAO
[ERROR] location: class com.entreprise.myprofile.business.services.MyProfileService
[ERROR] -> [Help 1]
您认为问题可能在哪里?