Questions tagged as 'java'

1
answer

Error trying to run application with Gluon Mobile using gradle build

Hello, I'm trying to run my application, however, it gives the following error: please apply google-services plugin at the bottom of the build file. :compileJava FAILURE: Build failed with an exception. * What went wrong: Could not resolve...
asked by 20.12.2017 / 20:08
0
answers

How to Configure Maven / Java Environment Variables

I configured the following environment variables JAVA_HOME C: \ Program Files \ Java \ jdk1.8.0_144% MAVEN% MAVEN_HOME C: \ Users \ Raphael Storm \ Desktop \ apache-maven-3.5.2 - (extract Maven) MAVEN% MAVEN_HOME% \ bin Path% JAVA_HOM...
asked by 02.12.2017 / 15:50
5
answers

Simple solution for Fibonacci algorithm

I have this statement in hand:    Given the Fibonacci sequence 1 1 2 3 5 8 13 ... n, write an algorithm to generate the sequence up to the nth term, which should be provided by the user. For example, if the user entered the number 40, 40 numb...
asked by 09.06.2017 / 05:46
0
answers

Show a set of images in a new layout from a list

Hello, I have an Activity class, which shows a layout with a list of items, which when clicking each item, would show a new layout (Books2), with a viewFlipper, however, each list item should show a set of different images, only which only shows...
asked by 01.12.2017 / 14:39
0
answers

Problem to convert with composite key in jsf, selecttonemenu

I'm doing a selectOneMenu where the itemvalue will be a compound key. Which will be separated by hyphen. However at the time of sending, the method getasobject is called several times, sending all items from my selectonemenu and not just the sel...
asked by 29.11.2017 / 17:14
0
answers

How do I change the background color of a JFoenix Combobox item?

I'm having trouble with colors in JFoenix. My program has this yellow, gray and white palette, but all objects are in blue. Like the items in this combobox: I tried to add this to the file jfx-combo-box.css : .jfx-combo-box{...
asked by 29.11.2017 / 18:13
1
answer

How to receive data from a Rest API using Apache Camel

And how do I get the data from a REST server passing a basic authorization in the header? I have tried in many ways and it does not work, and when I test in postman , it works normally. I have tried the simple way: from(URL_API_FB...
asked by 05.12.2017 / 12:57
1
answer

Mount a table of products as a window in java jsp

I'm having a hard time presenting a list of showcase-type products using Java and JSP . I can get the data, but I can not fill this table using <c:forEach> My table would have this structure: <table> <c:forEa...
asked by 05.12.2017 / 02:13
0
answers

How to speed up the webview?

Is there any way to speed up Website Upload via webview from Android? I saw that in my app it takes up to 5 seconds to load a page, while the Chrome browser loads in 1 second.     
asked by 27.11.2017 / 17:28
0
answers

Schedule execution from time to time

I'm creating an antddos in my servlet, to better understand how I want to restrict the number of requests from the same ip to my servlet. Currently I'm doing it this way: I have a list where every request that is made to it is stored ip in th...
asked by 30.11.2017 / 15:21