Questions tagged as 'java'

1
answer

Error Request Resource is not avaliable

I have this class in JAVA package br.com.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.sp...
asked by 11.01.2018 / 15:05
2
answers

Android Storage

I'm starting in the Android universe, and I have the following question: In a login system, which storage type should I use to persist the data of the user who logged in to that session, and when I click on leave "kill" this session informati...
asked by 11.01.2018 / 11:56
1
answer

Error in code I can not find - Create CNPJ (Java)

Good morning, could anyone help me? I have this Java code that should create a valid CNPJ number. However, the answer is Class GeradorCnpj when the number should come. Follow the code: public class GeradorCnpj { public String...
asked by 11.01.2018 / 14:34
1
answer

Error injecting dependency in SpringBoot

I'm having the following error someone could help: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'addAlunoEBController': Unsatisfied dependency expressed through field 'addAlunoService'; neste...
asked by 06.01.2018 / 00:47
3
answers

javac command with more than one packaged class

I have 3 classes in the com\scja\exam\planetas package. I also have a class with method main in package com\scja\exam\teste , responsible to print the name of the planets. I need to compile this code via the command line,...
asked by 22.02.2017 / 10:09
2
answers

Definition of WSDL raising exception

Hello, I have been trying to define a wsdl of a component that uses SOAP for an SOA project that mixes several types of services, integrating them with camel. But I am caught up in a problem that I see no sense in the answer he gives me, which I...
asked by 04.01.2018 / 14:04
0
answers

Run the Java java project via terminal?

I did a Maven project in Eclipse, I installed a dependency of Mahout for pom.xml, I made the code and it works beauty, it's beautiful. But I have to run this in a virtual machine, that is without Eclipse. How do I run my project on the virtual m...
asked by 12.01.2018 / 14:36
0
answers

Error starting application

After modifying the icon by Android Studio in Image Asset to start the application. The app crashes when starting. This is so once the application opens and again when entering it does not open the application and so on. Logcat does not displ...
asked by 12.01.2018 / 12:46
3
answers

Foreign key deletion

Help in logic. My question is: I have a simple relationship between Launch and Person, where person_id is the foreign key in Launch Class Model @NotNull @ManyToOne(optional = false) @JoinColumn(name = "pessoa_id") public Pessoa getPessoa...
asked by 12.01.2018 / 18:31
0
answers

How to shut down socket within an infinite loop?

Hello, I created a server-client project using a socket that listens on the port and sends the element of a Queue until the queue has no more elements. However, when I shut down the client application, the server remains open and listening. The p...
asked by 03.01.2018 / 18:30