Questions tagged as 'spring-boot'

1
answer

Move to the form a ListObject from JS to Server

I have a form on a web page to which I collect some values from JS and add them to an object. All those objects I put them into an array and add it to a hidden input I have on the page: document.editRouteForm.busStops.value = JSON.stringify(ge...
asked by 10.05.2018 / 09:20
2
answers

How can I solve this problem in spring boot + bootstrap + jsp

Greetings I have the problem I am using spring boot and bootstrap v4 so I want to show a combination that shows me the data in a form but it does not show me I leave the corresponding code and also solve the error that I previously published in...
asked by 10.07.2018 / 13:28
2
answers

Java Spring connection with wamp. I do not insert the record

I am learning the Java Spring Framework and following a tutorial I made some classes with the repsective attributes that coincided with the ones I have mounted in the database. And what I intend is to the data in the Database of my WAMP Ser...
asked by 20.08.2018 / 13:16
1
answer

One-to-One Relationship in Spring JPA does not migrate the foreign key

I have two entities in my Spring Boot project that uses Spring JPA and a MySQL database with Hibernate. These two entities are related to a One to One relationship. The problem is that when I try to add a type of objects, the primary key of the...
asked by 24.11.2017 / 12:45
1
answer

ApplicationEventPublisher event that does?

The event: @Autowired private ApplicationEventPublisher publisher; send: eventPublisher.publish(new CreateParticipantEvent(conversation, participant)); Do you send notifications to everyone? How does it work?     
asked by 08.05.2017 / 23:23
0
answers

Hibernate performs unwanted queries (@ManyToOne)

I have an entity A linked to B with a ManyToOne relation, of type Lazy public class A extends BaseEntity { @Enumerated(EnumType.STRING) private TipoTurnoEnum tipo; private String number; private String state; private Date date; @JoinColumn(...
asked by 09.10.2018 / 20:13
0
answers

java rmi UnmarshalException - Driver

I am trying to insert a consumer in a consumer table from my CreateUserController. From that CreateUserController class I get the attributes to save my consumer in the database. This is my CreateUserControler class import javafx.event.Actio...
asked by 21.10.2018 / 17:55
0
answers

Some request data are not mapped

I send the following Request { "name":"juan", "lastname":"caviedes", "email":"[email protected]", "password":"12345678q", "areaid":"13", "profileid":"2" } I have the class to map the object. public class SingUpRe...
asked by 03.10.2018 / 23:20
0
answers

Tomcat does not process my xhtml

I'm doing a project with sprig-boot, jsf, tomcat and maven, when I run the app with the command mvn-spring-boot:run works perfectly with my embedded tomcat, but when I go to my tomcat on the server, I charge my war and it I give in deploy...
asked by 31.08.2018 / 00:06
1
answer

HttpMediaTypeNotSupportedException

I was sending an excell through Angular2 and I was receiving the SpringBoot, the problem is when in addition to the Excell I want to send a 2nd object. When I send the second object, I miss an error. Angular Code where I declare the class and...
asked by 17.07.2018 / 13:15