Questions tagged as 'java'

0
answers

spring boot + Oracle Connects to the bank but does not generate mapped table

Spring boot connects to the bank but does not generate the mapped tables ... In the example below, I'll put the password wrong, see the return: dataSource.setPassword("");    2018-06-29 00: 26: 46.322 INFO 13612 --- [restartedMain]   org.hi...
asked by 29.06.2018 / 05:39
1
answer

How to get user image in session and add in html?

I'm developing a web application using spring boot. I already have a saved image of the user in the database, now I would like to assign the image of the user logged into the session in the profile photo of my dashboard. How to do this? I can br...
asked by 29.06.2018 / 16:55
0
answers

Select android error

I'm not able to return the value inside my arry always returns 0 Class Read public class Read { public ArrayList<RespostasAguaCasa> getLista() { SQLiteDatabase db = Maindb.getInstancia().getReadableDatabase(); String query = "SELECT...
asked by 07.07.2018 / 17:16
0
answers

Problems with directory accents

I need to get the directory of a file that is inside the project, but the return is not respecting the folder accents. Class searching directory: package NewClass; import java.io.File; public class NewMain1 { public static void main(Stri...
asked by 26.06.2018 / 21:37
0
answers

How to integrate two forms that are on the same page?

I need to integrate two forms that are on the same page, would this be possible? I have a form that displays some options for the user with this I perform validations and calculations if everything is as the user wants he clicks a button and...
asked by 24.06.2018 / 04:32
0
answers

Android - How to create a Standard Fragment to be used / extend multiple Child Fragments?

Some of my application will have 12 tabs (fragments using viewpager and tabs adapter) showing a chart and a simple list. The 12 tabs will do the same thing, only what changes is the list and graphic information. How can I apply this using inh...
asked by 24.06.2018 / 00:55
0
answers

Volume Button (with Circular JSlider?)

Hello, I and my team are doing a synthesizer for college work, in case I'm doing the graphical interface and would like to make the following buttons: Themixingbuttonswouldworklikethiskeyboardonline: Synthesizer . I think I should use a C...
asked by 24.06.2018 / 05:04
0
answers

java.lang.NullPointerException - Having add a user in the database but points this exception [duplicate]

Here is the code for the connection to the database, the user class, and the code already in the jframe: /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Te...
asked by 29.06.2018 / 00:25
0
answers

___ ___ erkimt '' android ... CoordinatorLayout '' problem in Android Studio can not place components in layout ______ qstntxt ___

When I create a new project, the XML looks like this:

ThenIcannotdraganycomponentintoit.

AndI'mnotgettingtheemulatoreither.WhenIclickonthedebug(greenarrow)theerrormessage"IDE Error" appears and does not open the emulator.

Do you have any idea what it can be? I already researched the internet and I did not find my problem.

    
___

When I create a new project, the XML looks like this: ThenIcannotdraganycomponentintoit.AndI'mnotgettingtheemulatoreither.WhenIclickonthedebug(greenarrow)theerrormessage"IDE Error" appears and does not open the emulator. Do you have any i...
asked by 03.09.2018 / 22:52
1
answer

How to resolve this error: Unknown entity when saving in hibernate?

The following is the code: ItemsSaleDAY: package com.livro.capitulo3.crudannotations; import java.util.List; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import org.hibernate.*; import com.livro.capitulo...
asked by 30.06.2018 / 01:06