Welcome to Jonic Developer Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged spring

0 votes
1.6k views
1 answer
    Our application is deployed on weblogic we use Hibernate and spring The session factory is created through a user defined class which creates ... and inject the HibernateTransactinManager Thank you ! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.6k views
1 answer
    I want to change data inside a Vaadin UI. The change is invoked by a a rest call. There, i somehow need a reference to the UI class to ... stuff i do in my restcontroller: Broadcaster.broadcast(text); See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.7k views
1 answer
    I'm using graphql java tools in my spring application. I have an entity like this: @Entity data class Image( @Id @GeneratedValue(strategy = GenerationType. ... tell the graphql schema parser to do that. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.8k views
1 answer
    I've rolled onto a maven project that when I run mvn clean install from command line builds and runs fine. I had this project displaying in Eclipse without ... I'm seeing the errors from the target path? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.7k views
1 answer
    I use Hibernate and JpaRepository to handle my DB operations. I have this query (to simplify because original query is quite big): @Query(value="select * from ... me a hint on how to get rid of it? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.8k views
1 answer
    I am newbie in MongoDB. I have stored data inside mongoDB in below format "_id" : ObjectId("51d5725c7be2c20819ac8a22"), "chrom" : "chr22", "pos" : ... form a query which will update the particular value? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.6k views
1 answer
    I'm new to web flow, so I'm not sure how to do this: I have a spring mvc controller, and I have a spring webflow. One of the flow ... goes like this <form:form modelAttribute="client" method="post"> See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.6k views
1 answer
    I would like to perform authentification with SPNEGO. I use: spring-core-3.1.0.RELEASE.jar spring-security-core-3.1.0.RELEASE.jar spring-security ... .acceptSecContext(Krb5Context.java:761) ... 40 more See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.3k views
1 answer
    Just created a simple spring-boot project from the spring initializer. I went to add a local h2 db for testing and am unable to login. Seems that it ... we cant auto-create it [90146-199] 90146/90146 See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.0k views
1 answer
    Am using Spring 3.1. War is not built using Maven. Its just a normal build. I have below jars in my class path. antlr-runtime-3.0.1 ... exception - CGLIB is required to process @Configuration classes ? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.5k views
1 answer
    I want my Spring MVC web app to gracefully handle a particular type of exception thrown while creating the beans. The construction of one ... @ExceptionHandler annotations on controllers are not useful. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.9k views
1 answer
    This is a followup question to the following: JPA utf-8 characters not persisted The answer (https://stackoverflow.com/a/32574280) worked for me. However ... .characterEncoding")); But it isn't working. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.7k views
1 answer
    Using RestDocs version 1.1.1.RELEASE and SpringBoot 1.4.0.RELEASE, parameters when using "httpRequest" is documented double. The following code: @RunWith( ... anything similar or know what the problem is? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.7k views
1 answer
    I am using Spring , JPA, Hibernate, Postgresql. I can upload/insert a file to the database. But I got the error ... FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) at org.springframework.security.web.savedrequest.R...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.2k views
1 answer
    I have a monitoring app wherein I am running a fixedRate task. This is pulling in a config parameter configured with Consul. I want to pull in ... (display in sheduledMonitorScan method) stop showing up. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.2k views
1 answer
    I am getting an error while running this code in Eclipse. I have created Student.java file: public class Student { private int id; private String ... lang.ClassLoader.loadClass(Unknown Source) ... 9 more See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.9k views
1 answer
    I'm developing a spring application which uses tomcat server managed connection pool. I defined datasource in tag in context.xml of tomcat: (i am using ... Source) please help me to solve this problem. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.6k views
1 answer
    When running my webapp, I get the stacktrace listed below every other try. Note that there doesn't seem to be multiple ContextLoader definitions im web.xml ... ) at java.lang.Thread.run(Thread.java:745) See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
3.0k views
1 answer
    I am trying to deploy a Spring-Boot application with Service accessing a JpaRepository which is connecting to ... .springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1104...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    I want to implement Kafka Consumer and Producer which sends and receives Java Objects. Full Source I tried this: Producer: @Configuration public class ... Obects using one topic? Full example code See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.1k views
1 answer
    I am using Spring Boot, Spring MVC and Spring Web with HttpClient. While trying to create HttpClient object in @Configuration class I get exception for ... .. 156 more Any help or suggestions appreciated See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.8k views
1 answer
    It's possible restart a job or step automatically when timeout occurs? I tried retry and skip (skip, because job re-run every 30 minutes, provided no ... Retry job if does not complete in particular time See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.8k views
1 answer
    I add to my project a class CustomPermissionEvaluator, configured by a configuration class MethodSecurityConfig, but when I try run my application, after ... (value="customer") @PreAuthorize("hasPermission('customer_main')") public Model...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.8k views
1 answer
    I am using spring security for authentication. authentication is working fine. but after authentication it is not redirecting to the html that have mentioned ... i missing anything to configure. Thanks! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.6k views
1 answer
    I am working on Spring Batch and Partition using the JdbcPagingItemReader, but I am only getting half records. If I am expecting 100 thousand records ... b.i.database.JdbcPagingItemReader : Reading page 0 See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.6k views
1 answer
    These are from the spring amqp samples on github at https://github.com/SpringSource/spring-amqp-samples.git what type of java constructors are these? ... ; cadence = startCadence; speed = startSpeed; } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.9k views
1 answer
    JPA: many-to-many connection. Scenerio: Multiple product can be saved under multiple categories. Like: Mango can be used as Fruit ... .invoke(StandardContextValve.java:96) at org.apache.catalina.authenticator.AuthenticatorBase.inv...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
3.8k views
1 answer
    Whenever I try to entityManager.flush() I get the error mentioned on title. That is interesting that all my models have been ... :331) at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.j...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to Jonic Developer Community for programmer and developer-Open, Learning and Share
...