-1
Eclipse에 Esper를 설치하는 데 어려움을 겪고 있습니다. 나는 기술적 인 문제에 능숙하지 않다. 그래서 나는 그렇게하기 위해 모든 세부 사항을 필요로한다.Eclipse에 Esper 설치
실제로 Java에서 esper-5.4.0.zip의 모든 jar 파일을 추가했습니다. 빌드 내 프로젝트 경로. 나는 다음과 같은 오류 메시지를 가지고있다 :
log4j:WARN No appenders could be found for logger (com.espertech.esper.util.ObjectInputStreamWithTCCL).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Exception in thread "main" com.espertech.esper.client.EPStatementException: Failed to resolve event type: Event type or class named 'Deposit' was not found [every A=Deposit]
at com.espertech.esper.core.service.StatementLifecycleSvcImpl.compile(StatementLifecycleSvcImpl.java:1162)
at com.espertech.esper.core.service.StatementLifecycleSvcImpl.createStopped(StatementLifecycleSvcImpl.java:298)
at com.espertech.esper.core.service.StatementLifecycleSvcImpl.createStoppedAssignName(StatementLifecycleSvcImpl.java:202)
at com.espertech.esper.core.service.StatementLifecycleSvcImpl.createAndStart(StatementLifecycleSvcImpl.java:156)
at com.espertech.esper.core.service.EPAdministratorImpl.createPatternStmt(EPAdministratorImpl.java:108)
at com.espertech.esper.core.service.EPAdministratorImpl.createPattern(EPAdministratorImpl.java:58)
at test.CEP_start.main(CEP_start.java:39)
프로젝트 zip 및 사용 된 다른 zip 파일은 어디에서 얻었습니까? 도움이 필요하다면이 사실을 알아야합니다. – Sufian
안녕하세요, 감사합니다. 나는이 링크에서 프로젝트 우편 번호를 얻었습니다 : http://www.espertech.com/esper/download.php – user6519377
보증금에 관해서는 다음과 같은 클래스가 있습니다 : 클래스 보증금 { \t 개인용 좌석 금액; \t private string customerID; \t public String getCustomerID() { \t \t return customerID; \t} \t public void setCustomerID (String customerID) { \t \t this.customerID = customerID; \t} \t public float getAmount (\t \t 반환 금액; \t} \t 공백 void setAmount (float amount) { \t \t this.amount = amount; \t} \t } – user6519377