이 링크에서 exoplatform에서 캘린더를 다운로드했습니다 : https://github.com/exoplatform/calendar 및 mvn compile war : war 명령을 사용하여 해당 war를 생성하려고했습니다. mvn 패키지를 실행하거나 mvn을 설치하면 제대로 작동하지만 war : war를 추가하면 컴파일이 실패합니다. 여기 Maven 오류 - 멀티 모듈 프로젝트에서 심볼을 찾을 수 없습니다.
는 오류입니다 :[ERROR] .../calendar-develop/calendar-webservice/src/main/java/org/exoplatform/webservice/cs/calendar/CalendarWebservice.java:[48,38] package org.exoplatform.calendar.model does not exist
[ERROR] .../calendar-develop/calendar-webservice/src/main/java/org/exoplatform/webservice/cs/calendar/CalendarWebservice.java:[49,40] package org.exoplatform.calendar.service does not exist
[ERROR] .../calendar-develop/calendar-webservice/src/main/java/org/exoplatform/webservice/cs/calendar/CalendarWebservice.java:[50,40] package org.exoplatform.calendar.service does not exist
[ERROR] .../calendar-develop/calendar-webservice/src/main/java/org/exoplatform/webservice/cs/calendar/CalendarWebservice.java:[51,40] package org.exoplatform.calendar.service does not exist
[ERROR] .../calendar-develop/calendar-webservice/src/main/java/org/exoplatform/webservice/cs/calendar/CalendarWebservice.java:[52,40] package org.exoplatform.calendar.service does not exist
[ERROR] .../calendar-develop/calendar-webservice/src/main/java/org/exoplatform/webservice/cs/calendar/CalendarWebservice.java:[53,40] package org.exoplatform.calendar.service does not exist
[ERROR] .../calendar-develop/calendar-webservice/src/main/java/org/exoplatform/webservice/cs/calendar/CalendarWebservice.java:[54,40] package org.exoplatform.calendar.service does not exist
[ERROR] .../calendar-develop/calendar-webservice/src/main/java/org/exoplatform/webservice/cs/calendar/CalendarWebservice.java:[55,40] package org.exoplatform.calendar.service does not exist
[ERROR] .../calendar-develop/calendar-webservice/src/main/java/org/exoplatform/webservice/cs/calendar/CalendarWebservice.java:[56,40] package org.exoplatform.calendar.service does not exist
[ERROR] .../calendar-develop/calendar-webservice/src/main/java/org/exoplatform/webservice/cs/calendar/CalendarWebservice.java:[57,40] package org.exoplatform.calendar.service does not exist
[ERROR] .../calendar-develop/calendar-webservice/src/main/java/org/exoplatform/webservice/cs/calendar/CalendarWebservice.java:[58,40] package org.exoplatform.calendar.service does not exist
[ERROR] .../calendar-develop/calendar-webservice/src/main/java/org/exoplatform/webservice/cs/calendar/CalendarWebservice.java:[59,40] package org.exoplatform.calendar.service does not exist
[ERROR] .../calendar-develop/calendar-webservice/src/main/java/org/exoplatform/webservice/cs/calendar/CalendarWebservice.java:[115,18] cannot find symbol
[ERROR] symbol: class CalendarService
[ERROR] location: class org.exoplatform.webservice.cs.calendar.CalendarWebservice
[ERROR] .../calendar-develop/calendar-webservice/src/main/java/org/exoplatform/webservice/cs/calendar/CalendarWebservice.java:[116,11] cannot find symbol
[ERROR] symbol: class ExtendedCalendarService
[ERROR] location: class org.exoplatform.webservice.cs.calendar.CalendarWebservice
[ERROR] .../calendar-develop/calendar-webservice/src/main/java/org/exoplatform/webservice/cs/calendar/CalendarWebservice.java:[120,17] cannot find symbol
[ERROR] symbol: class CalendarService
[ERROR] location: class org.exoplatform.webservice.cs.calendar.CalendarWebservice
[ERROR] .../calendar-develop/calendar-webservice/src/main/java/org/exoplatform/webservice/cs/calendar/CalendarWebservice.java:[134,29] cannot find symbol
[ERROR] symbol: class ExtendedCalendarService
[ERROR] location: class org.exoplatform.webservice.cs.calendar.CalendarWebservice
[ERROR] .../calendar-develop/calendar-webservice/src/main/java/org/exoplatform/webservice/cs/calendar/CalendarWebservice.java:[330,49] cannot find symbol
[ERROR] symbol: class CalendarEvent
[ERROR] location: class org.exoplatform.webservice.cs.calendar.CalendarWebservice
[ERROR] .../calendar-develop/calendar-webservice/src/main/java/org/exoplatform/webservice/cs/calendar/CalendarWebservice.java:[330,72] cannot find symbol
[ERROR] symbol: class FeedData
[ERROR] location: class org.exoplatform.webservice.cs.calendar.CalendarWebservice
[ERROR] .../calendar-develop/calendar-webservice/src/main/java/org/exoplatform/webservice/cs/calendar/CalendarWebservice.java:[630,39] cannot find symbol
[ERROR] symbol: class CalendarSetting
[ERROR] location: class org.exoplatform.webservice.cs.calendar.CalendarWebservice
[ERROR] .../calendar-develop/calendar-webservice/src/main/java/org/exoplatform/webservice/cs/calendar/CalendarWebservice.java:[630,67] cannot find symbol
[ERROR] symbol: class CalendarEvent
[ERROR] location: class org.exoplatform.webservice.cs.calendar.CalendarWebservice
[ERROR] .../calendar-develop/calendar-webservice/src/main/java/org/exoplatform/calendar/ws/CalendarRestApi.java:[31,1] package org.exoplatform.calendar.service does not exist
[ERROR] .../calendar-develop/calendar-webservice/src/main/java/org/exoplatform/calendar/ws/CalendarRestApi.java:[32,40] package org.exoplatform.calendar.service does not exist
[ERROR] .../calendar-develop/calendar-webservice/src/main/java/org/exoplatform/calendar/ws/CalendarRestApi.java:[33,49] package org.exoplatform.calendar.service.Calendar does not exist
[ERROR] .../calendar-develop/calendar-webservice/src/main/java/org/exoplatform/calendar/ws/CalendarRestApi.java:[34,45] package org.exoplatform.calendar.service.impl does not exist
[ERROR] .../calendar-develop/calendar-webservice/src/main/java/org/exoplatform/calendar/ws/bean/CategoryResource.java:[22,40] package org.exoplatform.calendar.service does not exist
[ERROR] .../calendar-develop/calendar-webservice/src/main/java/org/exoplatform/calendar/ws/bean/CategoryResource.java:[33,33] cannot find symbol
[ERROR] symbol: class EventCategory
[ERROR] location: class org.exoplatform.calendar.ws.bean.CategoryResource
주요 치어 : https://drive.google.com/file/d/0BwWIlGx_c4cXM3puSVY2YTlDWE0/view?usp=sharing
항상 반환 오류를 반환하는 하나 인해 스택 오버플로 문자로 https://drive.google.com/file/d/0BwWIlGx_c4cXWlptTkp0VF95YlU/view?usp=sharing
내가 Google 드라이브에서 그들을 배치를 한도.
mvn 새로 설치를 수행하는 종속성을 검사하는 것처럼 스택 오버플로에서 솔루션을 시도했지만 war를 추가 할 때마다 : war 해당 오류를 반환합니다.
아무도 도와 줄 수 있습니까?
WAR를 빌드하는 올바른 방법은'mvn install' 또는'mvn package'를 사용하는 것입니다. 왜'mvn war : war'를 따로 운영해야한다고 생각하니? –
Ok @SteveC 나는 당신이 말한 것을 시도했다. 어제 시도 했음에도 불구하고 일하지 않았지만, 오늘은 전쟁을 일으켰고 그에 따라 행동한다. 감사합니다 – user2934164
당신은 어떤 지점을 체크 아웃 했습니까? 아니면'maven-war-plugin' 설정을 직접 추가 했습니까? 'calendar-webservice' 모듈은 WAR로 빌드 된 실제 웹 어플리케이션 인'calendar-webapp'에 포함 된'jar '을위한 것입니다. –