87 questions
1 vote
1 answer
7k views
package javax.jws does not exist. I need this package that support jdk1.7
I am trying to run an old maven project, a Website Application from my company, so I can do some changes for an update. Currently, I'm still making some changes in pom.xml file because some library is ...
0 votes
1 answer
618 views
Getting java.net.SocketException: Connection reset error on RabbitMQ connection using JDK1.7
JDK Version 1.7 RabbitMQ: AWS RabbitMQ - amqps protocol Java Client Maven: <dependency> <groupId>com.rabbitmq</groupId> <artifactId>amqp-client</artifactId&...
1 vote
1 answer
375 views
-XX:MaxPermSize setting was not reflected
I am using below JVM opts in my application on Linux server -server -Xms3g -Xmx3g -Xmn512m -XX:MaxPermSize=256m -Xss256k -Xloggc:${gc_log_file} -verbose:gc -XX:+DoEscapeAnalysis -XX:+...
0 votes
1 answer
342 views
STS 3.9.11 @autowired of an JPA @entity no longer works with STS 4.5.1
We are preparing to migrate a legacy JDK 1.7 Spring Tool Suite 3 webapp (tomcat 8) to STS 4 with JDK 11 (tomcat 9). If I import the maven project into STS 3.9.11, the @AutoWired properties of some @...
2 votes
1 answer
6k views
Cipher suite not supported by Java 1.7
One of the external service which we use require one of the below (GCM) cipher suites along with TLSv1.2 or above. I was able to enable TLSv1.2 but the ciphers (listed below) are not supported by Java ...
0 votes
2 answers
539 views
Apache James Installation Issue - java.lang.UnsupportedClassVersionError:
I am trying to install apache james 3.3.0 in windows 7 service pack 1, in which both jd 1.7, and 1.8 already installed. But while running the james i am getting the below error. Exception in thread ...
2 votes
2 answers
494 views
How to convert GMT datetime SQL data type to JAVA EST timestamp on JDK 1.7
datetime datatype in GMT SQL server: Column name = PostedDateTime Value = 2019-09-30 17:46:04.600 I'm trying to use JAVA code to convert that datetime value to an EST timestamp So the output should ...
2 votes
0 answers
370 views
How can I replace inheritence of SkinBase in JavaFX11
I'm migrating an application containing JavaFX 2 to OpenJDK11. I have an error due to disappearance of inheritance of SkinBase with StackPane. I can't use anymore methods like event methods (defined ...
2 votes
1 answer
5k views
How to disable JMeter log information output to console (in java)
I was developing a jmeter test plan from java code, and I've installed jmeter api from maven. It runs successfully. However, it shows lots of needless information on the console. Here is my ...
0 votes
1 answer
1k views
Java XML Parse - Remove First Tag
I would like to delete a few Tags from my XML string. It sounds simple, and I'm sure it its, but I'm having problems deleting the main Tag and keeping the SubTags inside. Here is an example: <...
4 votes
1 answer
7k views
Not able to build using maven 3.6 and jdk 1.7
I have created a project using maven, but when I am building the project I am getting error. I am using jdk 1.7u21 If I use jdk 1.8 it the build is working fine, its only I use jdk 1.7 then the ...
1 vote
2 answers
1k views
How javac works while importing a package?
I am having a doubt. My understanding is that jdk has [ jre + development tools (Java, javac, debugger etc.) + source code (src.zip) ]. Now working of java compiler is nothing to do with the ...
0 votes
4 answers
943 views
Why getting character ®(U+00AE) is different in java 6 and java 7?
This is my first time asking at StackOverFlow. I'm not good at English. Please excuse me. I'm having a problem that my application is returning a strange character. PlayStation\ufffd\ufffd4 Pro It ...
3 votes
0 answers
3k views
Get SignedContent from P7M
I am using java (jdk 1.7) and bouncycastle library to get the content of a p7m signed file. To the build path I added the following files: bcpkix-jdk15on-160.jar commons-io-2.1.jar log4j-1.2.17.jar ...
0 votes
1 answer
1k views
Springfox swagger ui support for java 7
I am trying to integrate springfox swagger ui into my spring MVC project. I have already integrated swagger 2.9.2 and it was working all fine. Now I found out that this version does not support java ...