2020欧洲杯手机版注册

A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [java]

2020欧洲杯手机版注册Java (not to be confused with JavaScript, JScript or JS) is a general-purpose, platform-independent, statically typed, object-oriented programming language designed to be used in conjunction with the Java Virtual Machine (JVM). "Java platform" is the name for a computing system that has installed tools for developing and running Java programs. Use this tag for questions referring to the Java programming language or Java platform tools.

Filter by
Sorted by
Tagged with
-1
votes
0answers
4 views

Different xml layouts but same java class for a modular android studio project

I want to develop a modular android studio project. The java code section is the same but the xml layouts must be different. So the screen design is a little different but the code will usually be ...
0
votes
0answers
6 views

Syntax Error - need help - (RPG Character Sheet)

I am working on a Saga Edition character sheet (this is helpful if you know what that is). I pieced together code from other places and thought it should work - I'm getting a syntax error in the ...
-3
votes
1answer
16 views

why have an NullPointerException that I execute the request?

I calculate the sum of to variable getting from 2 request, the result is recovered but that I want to exploit it an NullPointerException is thrown: public List<Object[]> ...
-3
votes
0answers
13 views

How to add a map to a java application? [closed]

Any way to add a map to my java application , I'm working for a Fleet Tracking project for my school project, I found some ways but not free ones.
0
votes
0answers
15 views

How do I match any one of a certain set of regex groups?

I am writing a parser for a program, which accepts certain time-strings prefixed with a forward slash /, such as /at 4pm or /on 22/1/2020.As I parse through the tokens of user input, I'd like the ...
0
votes
0answers
3 views

SpringAMQP - How to catch ListenerExecutionFailedException?

I have 3 queue. Queue mainQueue retry(3x controlled by the code)Queue to save error messages after 3 attempt.It's working fine... but if I sent wrong json message for any reason like:{"name"...
0
votes
0answers
7 views

How to stage a Angular application with Java Back-End in Azure?

I am quite new to the topic of releasing software.To publish and host my software I decided to use AZURE from Microsoft. But I'm a little bit overwhelmed, which services exactly I need.I use for ...
0
votes
0answers
5 views

Handling multiple requests(different or of the same type) in the same Java Servlet, how to?

so what i am trying to do is , i have 2 html pages - 1 allows to search users in DB by email and 1 by ID. So i have 2 forms on each to let user insert a number and a String.Now i want the request made ...
0
votes
0answers
7 views

EntityManager.merge() unique constraint violation

I'm facing with unique constraint violation at query line. "find_stock" string is just a select query, not an insert. Below loop iterated 2 times and both "p1" and "p2" have the same value in both ...
0
votes
0answers
6 views

jmeter avoid proxy in one request

I have a script in jmeter 5.1.1 where I define the proxy connection when opening it with commands.I need the proxy in all the HTTP request, however I need to avoid the proxy in one specific HTTP ...
0
votes
0answers
9 views

Eclipse Use Maven to change the version of a project?

I heard it's possible to change the version of a project using Maven. I am talking about the tag <version>1.1</version> in the project "pom.xml" and all the pom file of all the sub ...
0
votes
2answers
20 views

Create Executable Jar that includes all the dependencies as packaged jars

I'm trying to understand how to include all of the dependencies in an executable jar file as packaged jars (i.e. include jars within a jar) but I'm failing miserably.Could someone point me in the ...
0
votes
2answers
14 views

Swing setLayout Bug

I am trying to create a simple swing program that uses the BorderLayout on eclipse IDE. I believe that i use the setLayout method properly but a given bug shows up and i have no idea how i can fix it. ...
0
votes
0answers
13 views

OAuth2 Authentication Java Spring error in Angular

I have implemented oAuth2 in java spring. when I send request from postman with basic auth i get token in response. But when I send it from angular it return 401. please check the attached code and ...
0
votes
0answers
22 views

Array out of bounds exception with JTable on mac but not windows?

So i'm making a sort of student database program where I can create assignments with standards and add student's grades to it. How this basically works is I create a table and I add columns ...

15 30 50 per page