Questions tagged as 'java'

1
answer

Default path for entering and exiting files and files in Eclipse

my question will not be accompanied by code since it is about the configuration that the project or the eclipse itself may have. Let's say that for example we use class File to create a new file with the .createFile() method ......
asked by 07.08.2018 / 12:47
1
answer

Add row to a table with data from a modal

if you can help me with this question of how to pass the data filled from a form that is in a modal to a new row in a table. And let it accumulate every time you open the modal to fill out the form, and the option to delete the row. This is m...
asked by 08.08.2018 / 00:26
2
answers

Read all the files in a folder

I want to go through all the files in a folder using java. How can I do it?     
asked by 21.07.2016 / 12:06
2
answers

Problem with mysql connection in java

I have this code to connect to a bd but the problem is that it does not enter the while loop public static void conf(){ System.out.println("Ingrese serial"); String numSerial = sc.nextLine(); try{ Class.forName("com.mysql.j...
asked by 20.07.2016 / 13:46
1
answer

Joda DateTime is not compiled

The problem I have is the following: When I compile my code, I do not have any errors, but when I execute it, I get the error. java.lang.NoClassDefFoundError: org/joda/time/format/DateTimeFormat I have Joda's api implemented by Maven in...
asked by 04.07.2018 / 11:12
2
answers

Help in project using ArrayLists

Hello I need help for a project I could not finish because I do not know how to do that. Well the problem is that the project is Arraylist that arraylist full of information on "projects" for that I ask the user the number of proy, name, budg...
asked by 04.07.2018 / 19:45
1
answer

How to make a list of images using picasso?

I'm trying to upload a list of images that are on a server using picasso. In the arrayy I only have the value of the id of the image: "List<integer> myList = new ArrayList<integer>". Ex: 1, 2, 3, 4, 5, 6; first try just popul...
asked by 06.07.2018 / 00:09
1
answer

Error Can not process attribute android: fillColor

Why is this error ?, I do not see any detail in the logcat or anything, since the error occurs before you start the app. This is the error: Can't process attribute android:fillColor="@color/colorIcon": references to other resources are not...
asked by 05.07.2018 / 20:12
1
answer

Requests not to enter the @RequestMapping in Spring

I am practicing an application in Spring and I am having a problem that I am not able to understand. @Controller public class LoginController { @Autowired private UserService userService; @Autowired private BCryptPasswordEnco...
asked by 21.06.2018 / 16:00
1
answer

how to send a data from a recyclerView to an Activity? How to return this data to the recyclerView if it is modified in the activity?

Hi, I am new to Android, and I have not yet been able to solve a problem I have. Code a recyclrerViewAdapter that allows me to display a list of products on the screen. I want to emphasize that this list of items has the options to add products...
asked by 14.06.2018 / 23:57