About Spring MVC Framework

51-60 of 200Refresh
Forum
5

Spring LTW Problem

Hello! I use ObjectDB with Spring. Today i tried to swich from AspectJ compile time weaving to load ... "     useSystemClassLoaderAsParent="false" /> To my context.xml and to my spring configuration. Now Spring oviously tries to weave every class that get's loaded. The problem arises
Forum
5

can not use spring-data-jpa repository with NamedQuery

in spring-data-jpa named queries are used to implement repository interface methods, see http://static.springsource.org/spring-data/data-jpa/docs/current/reference/html/#jpa.query-methods.named ... findByBar(String bar); } to match the method parameter to the query parameter, spring have to check
Forum
5

Mismatch client-server protocol prefix

Hello! We migrated one of our legacy webservices to Spring Boot/Spring MVC. Now i have a strange ... on localhost We also have a Spring Boot/Vaadin Webapp which works without any problems. What's going ... ) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy
Forum
5

Spring Data JPA

Hello! When i configure Spring Data JPA to use ObjectDB 2.4.0_03 i get an exception when the context starts. org.springframework.beans.factory.BeanCreationException: Error creating bean with name ... more If i understand the exception right Spring Data JPA calls getMetamodel on the entity manager factory
Forum
5

Spring Data JPA - PersistenceException thrown

In a Spring-managed application that has 2 EntityManagerFactories (one Hibernate and one ObjectDB), I see the 2 EMFs created successfully on startup, but then subsequently when the application is initializing Spring JPA repositories with Hibernate EntityManagers, the application throws
Forum
5

Puzzler: Not getting cascades on read from Spring context

I've determined that the database is correctly initialized, looking at it from the Object Explorer, I can run the code that loads the database in a Junit test and it's initializing the children objects correctly, but in the application running in Jetty with Spring, fetching is not cascading
Forum
5

Spring and packagesToScan

Hi i am trying to configure ObjectDB using Spring JavaConfig but packageToScan is not working. I am getting Type XXX is not found   LocalContainerEntityManagerFactoryBean factory = new LocalContainerEntityManagerFactoryBean(); factory.setPackagesToScan("com.myentities"); factory
Issue
5

StaticMetamodel throws NPE with Spring-Data in PathImpl.get()

);     } };] from Spring-Data i got a NullPointerException in com.objectdb.jpa.criteria.PathImpl
Tutorial
5

Step 4: Add a Controller Class

In this step we will add a Spring Controller to manage guestbook web requests: Open the [New Java ...  exactly that case sensitive class name. Click Finish to create the new Spring Controller class. Now ... is defined as a Spring managed web controller using the @Controller annotation. A GuestDao component
Tutorial
5

Step 4: Add a Controller Class

In this step we will add a Spring Controller to manage guestbook web requests: Open the [New Java ... name. The Package should be guest. Click Finish to create the new Spring Controller class. Now ... a Spring managed web controller using the @Controller annotation. A GuestDao component