Questions tagged as 'java'

0
answers

Does not handle elements with selenium in Chrome

I'm trying to grab elements from a page but it's not found. Here is the code for the page: <form method="POST" action="j_security_check" onsubmit="return(OnLoginSubmit());"> <input type="hidden" name="operation"> <div st...
asked by 09.05.2018 / 20:46
0
answers

SQLite error with Java

import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; /** * * @author nathan */ public class Conexao { private Connection conexao; public boolean conection() { try{ this.conexao...
asked by 03.05.2018 / 02:35
0
answers

Error running project in Spring

Good morning, I am creating a study project, but I stopped with an error when I executed the project: Exception in thread "main" org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'standardJa...
asked by 01.05.2018 / 16:19
0
answers

Doubts on Android

I'm trying to get what comes in the "edtcomprado" and if it already has something in tvmac it will already add up with what I have stored but I can not find any way to do it 'package com.lucas.myapplication; import android.content.SharedPrefe...
asked by 29.04.2018 / 19:41
1
answer

Information exchange between RecycleViews

I have request tabs in which "RECEIVED" retrieves data from the BD Firebase within a RecycleView. This request is made by a user and received by the company. Now how do I do the items below: 1 - The company representative clicks on an item of...
asked by 29.04.2018 / 19:44
0
answers

How to get values from an EditText from a custom RecycleView (or ListView) in android

I would like you to help me with an android problem that I can not resolve. The issue is that I have a custom list with RecycleView that contains EditTexts to receive information on each of the items in the list. I need at that moment to obtain...
asked by 29.04.2018 / 20:04
0
answers

Springboot - JPA - does not migrate relationships in entity and relationship diagram

I'm creating a rest app using Springboot, JPA and as Mysql database. It works fine but it has something strange when I enter the database. I used the Workbench to create the relational entity diagram above the schema generated by JPA, but it...
asked by 08.05.2018 / 04:38
1
answer

Insert Image into code, SetImage Android, Error making dynamics in java

ImageView img = (ImageView) findViewById(R.id.img); //Atualizando a imagem dinamicamente. A classe R é utilizada para acessar o recurso. img.setImageResource(R.drawable.img); There was a mistake, I wanted to know where I was wrong     
asked by 08.05.2018 / 04:50
2
answers

How to change the smallest value of a vector with the highest value?

For the moment I can only find the smallest and largest, but I can not change the positions. for(int i=0; i < vetor.length; i++){ temp = vetor[i]; if(maior < temp){ maior = vetor[i]; vetor[i] = menor; m...
asked by 05.05.2018 / 02:24
0
answers

Open Jasper report

I'm trying to open a .jasper report, but it only opens in BlueJ, the editor I'm using. When I open the file, it is already in .jar the report .jasper does not open ... What am I doing wrong? Next to file .jar I hav...
asked by 05.05.2018 / 00:03