Questions tagged as 'java'

1
answer

Error: cribsFactory.getCribs is not a function

I have this controller angular .module("ngCribs").controller("cribsController", function ($scope, cribsFactory) { $scope.cribs = cribsFactory.getCribs(); }); and this factory angular.module("ngCribs") .factor...
asked by 03.09.2017 / 07:18
0
answers

Failed to update in registry

I'm having the following problem, when I try to change a registration made by my application, it creates a new registry instead of changing. My question is, if when I do the trigger insertion of the sequence , I should change to...
asked by 03.09.2017 / 07:30
1
answer

How to report the highest consecutive sequence? [closed]

I'm hooked on this algorithm where I create an integer vector with n positions and need to show the largest consecutive sequence. I'll leave the statement to try to be more specific. "Create an algorithm where the user types 50 integers of...
asked by 03.09.2017 / 15:32
0
answers

Build Spring Boot takes too long to compile?

I'm doing an example using Java with Spring, I'm using Intellij IDEA, it takes a long time to compile, I'm using TomCat, show a lot of message on the server, how to configure to be faster?     
asked by 31.08.2017 / 22:37
1
answer

Dependency is not added to the clojure project

I'm learning Clojure and created a simple spellchecker project. In this project, I would like to use the StringUtils class from Apache Commons, so I added the following lines of code to import it into my project. ; arquivo core.clj -- contém o...
asked by 30.08.2017 / 21:54
0
answers

How to change the default size of an icon?

Is there any way to change the default size of an icon in a javaFX application? I have an image that I want to use as an application icon, but it gets too small in the upper left corner of the window as well as in the Tasks bar.     
asked by 31.08.2017 / 14:23
0
answers

Problems sending JSON by POST when compiled

I have an application whose one of the modules is responsible for sending a JSON to an online API that synchronizes the data with a back-end system. When this module is executed or debugged in an IDE, it performs this task successfully, however,...
asked by 05.09.2017 / 14:30
2
answers

SharedPreferences - Firebase android

I am logging in normally, but when I close the application, it returns to the login screen. I'm trying to run sharedPreferences but I'm not successful. public static final String PREF_NAME = "LoginActivityPreferences"; private SharedPreference...
asked by 05.09.2017 / 00:58
1
answer

Android - org.json.JSONException No Value for

During execution of the application I received a JSONException error No Value for { "time": "05:07:18 AM", "milliseconds_since_epoch": 1504588038515, "date": "09-05-2017" } I know there are many bugs reported, but everyone I read did not ge...
asked by 05.09.2017 / 07:35
0
answers

How to upload web images inside a ListView?

I have a json something like this (simplified the original): [{ image:"http://site.com/imagem.png", title:"Titulo", desc: "descrição" }] I would like to load all the content, including the image inside a ListView in the app, I tried...
asked by 30.08.2017 / 00:27