Questions tagged as 'vraptor'

0
answers

VRaptor 4 + IBM Websphere Application Server 8.5

I'm trying to run a blank project of VRaptor 4 in WAS 8.5 to start a migration of an existing project, but when running the blank I encounter several errors that I do not know if it's a compatibility problem or not. Can anyone tell me if I nee...
asked by 22.10.2018 / 23:44
0
answers

Error starting Vraptor 4

Uploading the application by Tomcat 7 triggers the following stacktrace : mai 25, 2018 3:42:43 PM org.apache.catalina.core.StandardContext filterStart GRAVE: Exception starting filter vraptor javax.enterprise.event.ObserverExcepti...
asked by 25.05.2018 / 21:21
0
answers

Display a list of files in a directory using Java Web

Good afternoon, I have a directory called "musics" with 23 files. I'm using this class: public listarArquivos() throws IOException { File file = new File(diretorio); File musicas[] = file.listFiles(); int i = 0; for (int j =...
asked by 14.03.2018 / 19:56
0
answers

Problems with Left Join with EclipseLink - Java

I have a problem with the following query: SELECT * FROM tipo_calibracao t LEFT OUTER JOIN fator_medio f ON (t.id = f.tipo_calibracao AND f.lote = 42) ORDER BY t.id ASC; Java: public List<TipoCalibracao> searchTypes(Long batchId) {...
asked by 08.01.2018 / 20:04
0
answers

Error saving request | java web application + jsp + hibernate + vraptor

I am doing a web application (E-commerce), which is the final work of the web discipline, it is only necessary to save the request in the bank, but it is giving an error that I can not solve. I looked, but could not find anything related. <...
asked by 26.06.2017 / 20:14
1
answer

Annotation @Get does not work on the controller

I'm trying to customize my url with @Get in Vraptor 4, but it's not recognized, Follow the controller: @Controller public class OlaController { @Inject Result result; @Get("/ola") public void digaOla(){...
asked by 07.10.2016 / 16:46
0
answers

Vraptor (Method with URL connection)

Good afternoon, I'm trying to run a code on Vraptor, which when running my route, I need the system to trigger a connection using a URL to a page and return the body. This is a method of my controller public void exe(){ try{...
asked by 12.08.2016 / 19:50
1
answer

Error 500 (Internal Server Error), how much do I try to create a session

I'm trying to create a session for a login using Java, vRaptor, Hibernate, AngularJS. But when the session is going to be created I get this exception ( 500 (Internal Server Error )). This is my session class using vRaptor: @SessionSc...
asked by 06.07.2016 / 14:31
0
answers

How to get the Controller VRaptor Result with Jquery?

I have a controller. NewsletterController.java @Controller public class NewsletterController{ @Inject private Result result; @Post("/gravarEmail") public void gravarEmail(String email){ String me...
asked by 08.03.2016 / 21:46
0
answers

problems with web service Jquery + VRaptor 4 "status of 404"

I know you say it was not found, but I can not find where I was wrong. My controller: @Controller public class ProdutoController { @Inject private Result result; @Path("/") public ArrayList<Produto> inicio(){...
asked by 17.02.2016 / 12:21