Questions tagged as 'java'

0
answers

completeMethod primeFaces is returned the Id where it should return name

I'm creating a form where I have neighborhood address name etc, and for that, I'm using prime Faces. <p:outputLabel value="Nome" for="nome" /> <p:autoComplete id="nome" size="60" value="#{cadastroFuncionarioBean.fu...
asked by 25.07.2016 / 16:56
0
answers

Load * .pdf file into a JSP page

I was able to open a page from a * .pdf file in Acrobat by java from this code: try { File pdfFile = new File("C:\testes\teste.pdf"); if (pdfFile.exists()) { String cmd = "C:\Program Files (x86)\Adobe\Acrobat Reade...
asked by 19.08.2016 / 18:44
2
answers

JSF tags are not being converted to HTML

I created a Maven project in Eclipse to use JSF and made all the settings the material requested. However, when I created an XHTML file and circled it in the browser, the source code of the page was not converted to regular HTML, that is, it con...
asked by 18.08.2016 / 20:14
1
answer

Eclipse - "The eclipse executable launcher was unable to locate its companion shared library"

I already had the eclipse installed working normally (I did not use it much) but now that I was open it appears this message when I try to run .exe:    "The eclipse executable launcher was unable to locate its companion shared library" I'...
asked by 19.08.2016 / 04:51
1
answer

I get many errors in Android Studio when I want to compile my project

There are many mistakes and I do not even understand why. Please help.     
asked by 06.08.2016 / 10:55
0
answers

Run youtube videos in a web view

YouTube videos do not play in A web view on Android 4.0, but in 6.0 the videos run normally. I have already done a lot of research on this topic, but I have not found any practical answers to my very low knowledge about Android development. If s...
asked by 07.08.2016 / 03:55
0
answers

ViewPager changes the way a method works?

I've created an app that gives the value of X and Y in a linear system of two variables. Using these ( link and link ) tutorials, in another project, I was based on the old one and I added a tab to perform the procedure with three variables, a...
asked by 17.08.2016 / 19:01
0
answers

How can I make a oauth2 authentication of a native android application with a website developed with wordpress?

I have a site developed with wordpress, not on the platform wordpress.com. Lately I've been testing to use restfull and consume the data via json through the native android app. I just wish I could authenticate in a safe way using oauth2 w...
asked by 16.08.2016 / 21:16
0
answers

could not execute statement

I'm using JAVAJPA, Wildfly and PrimeFaces, when I try to save in the database it gives me this error: "could not execute statement". Can someone help me? This is my MB: package br.com.sicoob.ManagedBeans ; import java.io.Serializable; impo...
asked by 16.08.2016 / 22:02
0
answers

Project does not execute, error "404 - Not Found"

I'm using JAVa JPA JPA, with Wildfly and Primefaces and the bank I'm using Mysql. I'm with I have all the layers already configured (view (xhtml), DAO, Entity, MB). The datasouce of the wildfly is configured correctly, maintaining communicati...
asked by 11.08.2016 / 18:44