Questions tagged as 'java'

0
answers

Error: Could not find or load main class com.eventoapp.EventoappApplication

I'm having this error, I can not run my application.    Error: Could not find or load main class com.eventoapp.EventoappApplication My class package com.eventoapp; import org.springframework.boot.SpringApplication; import org.spring...
asked by 19.09.2017 / 21:00
1
answer

Google Sheets - Sending E-Mail

I have the following code that sends emails through a Google spreadsheet. function sendEmails() { var sheet = SpreadsheetApp.getActive(); var startRow = 2; var planMensagens = sheet.getSheetByName("mensagensEmail"); var mensagemRe...
asked by 22.09.2017 / 15:05
1
answer

Name [name] is not bound in this Context. Unable to find [jdbc]

In the hope of improving access performance in DB, I started to implement a pool of connections within my Web Application. But whenever I go to give a lookup in the application I get the following error    javax.naming.NameNotFoundException:...
asked by 28.09.2017 / 18:12
2
answers

Target Error Unreachable, identifier 'ClienteBean' resolved to null

System error: Error message:    Caused by: javax.el.PropertyNotFoundException: /index.xhtml @ 22.72   value="# {ClientBean.client.name}": Target Unreachable, identifier   'ClienteBean' resolved to null at   com.sun.faces.facelets.el.TagV...
asked by 28.09.2017 / 18:06
0
answers

Select date AM - PM TimePicker Android

I have a TimePickerDialog configured in my project and it is working correctly. When choosing the time, I have the following option - PM or AM. Code:privatevoidtimePicker(){//GetCurrentTimefinalCalendarc=Calendar.getInstance();mHour=c.get...
asked by 20.09.2017 / 19:49
1
answer

How to get the amount of garbage already generated at one point in Java code?

So folks, I wonder if they have some method or even way of picking up the amount of Garbage generated the current moment of the code. If you do not know but if you know any DOC that I can study to find a shape, thank you.     
asked by 20.09.2017 / 23:41
0
answers

Attributes in Inheritance using abstract class

I'm wanting to use inheritance with parent class being abstract. The issue is that I'm using superscript toString () so that each impression of child classes can print their respective data. But when I use "this" inside the toString on the attri...
asked by 22.09.2017 / 00:04
0
answers

Android studio ERROR java.lang.NullPointerException

I'm developing a code in android studio and using bluetooth communication. I want to make sure that if a specific data received by the bluetooth is greater than this value, automatically generate a notification in the cell. The error:    j...
asked by 22.09.2017 / 00:31
1
answer

AndroiStudio Calculator

Good evening I'm creating an application using 5 "boxes" ( EditText ) where I could multiply the boxes I wanted. Example: valuedd1 * valuedd2 = resu .... valuedd1 * valuedd2 * valuedd3 = resu .... valuedd1 * valuedd2 * va loodd3 * value...
asked by 22.09.2017 / 02:54
0
answers

Error org.hibernate.dialect.FirebirdDialect does not support identity key generation

This error appears when I save an entity to the database. I've set up the Entity class and the Repository in several ways, but the error remains. I'm using Firebird 2.5. The table automatically increments the id column by Trigger. I ask fo...
asked by 15.09.2017 / 13:32