Questions tagged as 'java'

0
answers

How to get the source of a video in a flash player on android?

I have a app I created that I use to download and watch videos online , I usually use for those sites with a bunch of advertising. I get the source of the html player using jsoup, but I would like to support websites that use flash player....
asked by 19.01.2018 / 15:04
2
answers

Java - Missing artifact com.sun: tools: jar: 0 (POM.xml)

I'm taking this error in my POM.xml. Could anyone tell me what it could be? <projectxmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/P...
asked by 19.01.2018 / 14:44
0
answers

Method to return a String Vector from a Triee tree

I need to use a Trie tree in a job and I need specific methods Insert , Search , Delete , StartWith . But I am trying to create a method similar to StartWith but return a vector of Strings that contain all the words found in the tree that be...
asked by 25.01.2018 / 02:00
0
answers

SpringBoot finds no dependency on BOOT-INF / lib folder

When I run APP springBoot using IDE or mvn spring-boot:run it works fine, but when I execute the command below it does not work: java -jar myapp.jar Show an error like this: Caused by: java.lang.IllegalArgumentException: File [/ho...
asked by 24.01.2018 / 21:04
1
answer

App is closing when debugging on Android

I'm trying to run the app on Android, where I want to list the data registered in a Mysql table. I'm trying this way: Connection import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader; import java.io.O...
asked by 26.01.2018 / 17:46
0
answers

Error executing project in TomCat

Hello everyone, I'm trying to run a JavaWeb project on TomCat, but when I run it it gives this error:    HTTP Status 404 - /Drogaria/faces/templates/modeloSistema.xhtml        type Status report       message /Drogaria/faces/templates/mo...
asked by 18.01.2018 / 17:07
0
answers

Make the mouse act with a joystick

My code must make the mouse act with a joystick to direct a ball on the screen. It should work as follows: if the mouse is in the crosshairs, the ball does not move. If the mouse is to the right or to the left, the ball moves to the right or to...
asked by 23.01.2018 / 20:54
2
answers

How to make Item only appear when category code = 1

I have the following code <h:selectOneRadio value="#{solicitacaoImpressaoBean.entrega.tipoGuia}" class="tipoGuia"> <f:selectItems value="#{solicitacaoImpressaoBean.tipoGuia}" var="guia" itemLabel="#{guia.descricao...
asked by 23.01.2018 / 19:20
0
answers

Vary the color of the toolBar and Tabs, is it possible?

I would like to know if it is possible to vary the color / theme of the toolBar and Tabs depending on the button that the user clicks, a kind of If or Switch Case in the XML itself with the layout, where depending on the user to choose, toolBar...
asked by 24.01.2018 / 17:21
1
answer

Sending email in a ji-js api

I have a demand to develop an api that among other features needs to send warning emails, in the architecture it has been defined that we will use javaEE jax-rs has anyone worked with any api that integrates sending and receiving email in java?...
asked by 23.01.2018 / 20:24