mam problem z odpaleniem:
https://github.com/spring-projects/spring-boot/tree/master/spring-boot-samples/spring-boot-sample-tomcat-jsp
zmieniłem parent i dodałem repo snapshotów springa mimo tego nie chce działać i wali błędem przy uruchamianiu spring boot:
Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [sample.tomcat.jsp.SampleTomcatJspApplication]; nested exception is java.lang.IllegalStateException: Failed to introspect annotated methods on class org.springframework.boot.context.web.SpringBootServletInitializer
pełny
https://github.com/spring-projects/spring-boot/tree/master/spring-boot-samples/spring-boot-sample-tomcat-jsp
zmieniłem parent i dodałem repo snapshotów springa mimo tego nie chce działać i wali błędem przy uruchamianiu spring boot:
Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [sample.tomcat.jsp.SampleTomcatJspApplication]; nested exception is java.lang.IllegalStateException: Failed to introspect annotated methods on class org.springframework.boot.context.web.SpringBootServletInitializer
pełny
Mam obiekt, który chcę zapisać w bazie. Obiekt jako id ma inny obiekt (value object). Korzystam z adnotacji @EmbeddedId. Czy to poprawne?
Mam problem podczas generowania id. W adnotacji @GenericGenerator muszę przekazać generator id. Chciałbym aby był on taki jak ten domyślny, czyli automatycznie dodawał jeden do ostatniej wartości w bazie danych (auto increment).
@siemanko: Nie przejmuj się wydajnością :)