Ideyatech / opentides3

Latest Version of OpenTides
8 stars 9 forks source link

build problems ... #32

Closed swframe closed 2 years ago

swframe commented 9 years ago

I'm try to follow the tutorial. I imported the opentides project into STS 3.6.4 on Mac OS. I get 41 errors. I think many of which are due to STS being unable to find test jar files. Description Resource Path Location Type Assert cannot be resolved NotificationServiceImplTest.java /notification/src/test/java/org/opentides/service/impl line 28 Java Problem Before cannot be resolved to a type NotificationServiceImplTest.java /notification/src/test/java/org/opentides/service/impl line 18 Java Problem Can not find the tag library descriptor for "http://www.ideyatech.com/tides" account-settings.jsp /core/src/main/resources/META-INF/resources/WEB-INF/jsp/base line 5 JSP Problem Can not find the tag library descriptor for "http://www.ideyatech.com/tides" audit-log-crud.jsp /core/src/main/resources/META-INF/resources/WEB-INF/jsp/base line 11 JSP Problem Can not find the tag library descriptor for "http://www.ideyatech.com/tides" dataAccessFailure.jsp /core/src/main/resources/META-INF/resources/WEB-INF/jsp line 1 JSP Problem Can not find the tag library descriptor for "http://www.ideyatech.com/tides" file-upload.jsp /core/src/main/resources/META-INF/resources/WEB-INF/jsp/base line 5 JSP Problem Can not find the tag library descriptor for "http://www.ideyatech.com/tides" forgot-password.jsp /core/src/main/resources/META-INF/resources/WEB-INF/jsp line 7 JSP Problem Can not find the tag library descriptor for "http://www.ideyatech.com/tides" home.jsp /core/src/main/resources/META-INF/resources/WEB-INF/jsp line 1 JSP Problem Can not find the tag library descriptor for "http://www.ideyatech.com/tides" login.jsp /core/src/main/resources/META-INF/resources/WEB-INF/jsp line 6 JSP Problem Can not find the tag library descriptor for "http://www.ideyatech.com/tides" page-template.jsp /core/src/main/resources/META-INF/resources/WEB-INF/jsp/base line 11 JSP Problem Can not find the tag library descriptor for "http://www.ideyatech.com/tides" photo-adjust.jsp /core/src/main/resources/META-INF/resources/WEB-INF/jsp/base line 5 JSP Problem Can not find the tag library descriptor for "http://www.ideyatech.com/tides" photo-upload.jsp /core/src/main/resources/META-INF/resources/WEB-INF/jsp/base line 5 JSP Problem Can not find the tag library descriptor for "http://www.ideyatech.com/tides" resourceNotFound.jsp /core/src/main/resources/META-INF/resources/WEB-INF/jsp line 1 JSP Problem Can not find the tag library descriptor for "http://www.ideyatech.com/tides" system-codes-crud.jsp /core/src/main/resources/META-INF/resources/WEB-INF/jsp/base line 5 JSP Problem Can not find the tag library descriptor for "http://www.ideyatech.com/tides" uncaughtException.jsp /core/src/main/resources/META-INF/resources/WEB-INF/jsp line 1 JSP Problem Can not find the tag library descriptor for "http://www.ideyatech.com/tides" user-crud.jsp /core/src/main/resources/META-INF/resources/WEB-INF/jsp/base line 5 JSP Problem Can not find the tag library descriptor for "http://www.ideyatech.com/tides" user-photo-adjust.jsp /core/src/main/resources/META-INF/resources/WEB-INF/jsp/base line 5 JSP Problem Can not find the tag library descriptor for "http://www.ideyatech.com/tides" user-photo-upload.jsp /core/src/main/resources/META-INF/resources/WEB-INF/jsp/base line 5 JSP Problem Can not find the tag library descriptor for "http://www.ideyatech.com/tides" user-registration.jsp /core/src/main/resources/META-INF/resources/WEB-INF/jsp line 5 JSP Problem Can not find the tag library descriptor for "http://www.ideyatech.com/tides" usergroup-crud.jsp /core/src/main/resources/META-INF/resources/WEB-INF/jsp/base line 6 JSP Problem ContextConfiguration cannot be resolved to a type NotificationServiceImplTest.java /notification/src/test/java/org/opentides/service/impl line 12 Java Problem InjectMocks cannot be resolved to a type NotificationServiceImplTest.java /notification/src/test/java/org/opentides/service/impl line 15 Java Problem MockitoAnnotations cannot be resolved NotificationServiceImplTest.java /notification/src/test/java/org/opentides/service/impl line 20 Java Problem Test cannot be resolved to a type NotificationServiceImplTest.java /notification/src/test/java/org/opentides/service/impl line 23 Java Problem The import junit cannot be resolved NotificationServiceImplTest.java /notification/src/test/java/org/opentides/service/impl line 3 Java Problem The import org.junit cannot be resolved NotificationServiceImplTest.java /notification/src/test/java/org/opentides/service/impl line 5 Java Problem The import org.junit cannot be resolved NotificationServiceImplTest.java /notification/src/test/java/org/opentides/service/impl line 6 Java Problem The import org.mockito cannot be resolved NotificationServiceImplTest.java /notification/src/test/java/org/opentides/service/impl line 7 Java Problem The import org.mockito cannot be resolved NotificationServiceImplTest.java /notification/src/test/java/org/opentides/service/impl line 8 Java Problem The import org.springframework.test cannot be resolved NotificationServiceImplTest.java /notification/src/test/java/org/opentides/service/impl line 10 Java Problem The method buildDeleteStatement(BaseEntity) in the type SynchronizableInterceptor is not applicable for the arguments (SystemCodes) SynchronizableInterceptorTest.java /mobilesync/src/test/java/org/opentides/persistence/interceptor line 60 Java Problem The method buildInsertStatement(BaseEntity) in the type SynchronizableInterceptor is not applicable for the arguments (SystemCodes) SynchronizableInterceptorTest.java /mobilesync/src/test/java/org/opentides/persistence/interceptor line 18 Java Problem The method buildInsertStatement(BaseEntity) in the type SynchronizableInterceptor is not applicable for the arguments (SystemCodes) SynchronizableInterceptorTest.java /mobilesync/src/test/java/org/opentides/persistence/interceptor line 20 Java Problem The method buildInsertStatement(BaseEntity) in the type SynchronizableInterceptor is not applicable for the arguments (SystemCodes) SynchronizableInterceptorTest.java /mobilesync/src/test/java/org/opentides/persistence/interceptor line 26 Java Problem The method buildInsertStatement(BaseEntity) in the type SynchronizableInterceptor is not applicable for the arguments (SystemCodes) SynchronizableInterceptorTest.java /mobilesync/src/test/java/org/opentides/persistence/interceptor line 33 Java Problem The method buildUpdateStatement(BaseEntity, List) in the type SynchronizableInterceptor is not applicable for the arguments (SystemCodes, List) SynchronizableInterceptorTest.java /mobilesync/src/test/java/org/opentides/persistence/interceptor line 49 Java Problem The method setCreateDate(Date) is undefined for the type SystemCodes SynchronizableInterceptorTest.java /mobilesync/src/test/java/org/opentides/persistence/interceptor line 23 Java Problem The method setId(long) is undefined for the type SystemCodes SynchronizableInterceptorTest.java /mobilesync/src/test/java/org/opentides/persistence/interceptor line 29 Java Problem The method setId(long) is undefined for the type SystemCodes SynchronizableInterceptorTest.java /mobilesync/src/test/java/org/opentides/persistence/interceptor line 31 Java Problem The method setId(long) is undefined for the type SystemCodes SynchronizableInterceptorTest.java /mobilesync/src/test/java/org/opentides/persistence/interceptor line 41 Java Problem The method setId(long) is undefined for the type SystemCodes SynchronizableInterceptorTest.java /mobilesync/src/test/java/org/opentides/persistence/interceptor line 56 Java Problem

If I use the mvn command line, comment out the problem tests, I get farther but I eventually get an error running the tatiana server. I suspect the config for the tatiana server is not importing the opentides applicaitonContext-app.xml file but it is not clear how to configure it. It is in the opentides core jar file.

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'stringToBaseEntityConverter': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.opentides.bean.factory.support.BaseEntityRegistry org.opentides.bean.converter.StringToBaseEntityConverter.baseEntityRegistry; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.opentides.bean.factory.support.BaseEntityRegistry] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}