Was Eclipse installed for a single user?

|
Yogesh 2022-08-09 11:50:13
ssvc21 2022-08-09 11:45:52
Happy National day

Happy National day… ?? I think for Singapore Nationals… right??

VAifonin 2022-08-09 12:05:45
Ha 2022-08-09 10:12:40
Hii all.
Can I format the invalid date..

Suppose if date is (33/08/2022 dd/mm/yyyy )
Can I format to 2022-08-33 YYYY-MM-DD??

public static void main(String[] args) {
String dateSrcString = “10/10/2022”;
DateTimeFormatter formatterSrc = DateTimeFormatter.ofPattern(“dd/MM/yyyy”);
LocalDate dateDestination = LocalDate.parse(dateSrcString, formatterSrc);
System.out.println(“dateSrcString = ” + dateSrcString + “, formatterSrc = dd/MM/yyyy”);
System.out.println(“dateDest = ” + dateDestination + “, formatterDest = yyyy-MM-dd”);
}

Selvanathan S 2022-08-09 12:11:45
Does any one have idea how to override the .class files
VAifonin 2022-08-09 12:24:16
Selvanathan S 2022-08-09 12:11:45
Does any one have idea how to override the .class files

What do you mean?

Abdul Naser 2022-08-09 12:46:32
I am unable to start eclipse in macbook pro.Its showing error to contact network administrator for assistance
VAifonin 2022-08-09 13:01:12
Abdul Naser 2022-08-09 12:46:32
I am unable to start eclipse in macbook pro.Its showing error to contact network administrator for assistance

Was Eclipse installed for a single user?
Try to install for yourself.

ProbotisOP 2022-08-09 13:50:38
My reactjs frontend is on port 80

And my jar (api ) file running on 8081

When am hiting api with fronted it’s saying connection refused

ProbotisOP 2022-08-09 13:50:41
Any solution
ProbotisOP 2022-08-09 13:50:54
springbootmicroservices-72248.jpg

ProbotisOP 2022-08-09 13:51:48
I have done all the CORS things, on my local host it was working fine now i deployed on server it’s giving me error
VAifonin 2022-08-09 13:52:35
ProbotisOP 2022-08-09 13:50:54

Show full app.
And you restcontroller contains @CrossOriginal?

ProbotisOP 2022-08-09 13:52:46
VAifonin 2022-08-09 13:52:35
Show full app.
And you restcontroller contains @CrossOriginal?

Yes

ProbotisOP 2022-08-09 13:52:57
On localhost it was working fine
ProbotisOP 2022-08-09 13:53:24
Now i have pushed frontend and backed to server am getting this error
VAifonin 2022-08-09 13:53:29
Show log app.
ProbotisOP 2022-08-09 13:54:00
VAifonin 2022-08-09 13:53:29
Show log app.

Nothing there

ProbotisOP 2022-08-09 13:54:37
springbootmicroservices-72258.jpg

VAifonin 2022-08-09 13:55:51
Show restController
ProbotisOP 2022-08-09 13:55:55
When am hitting api end point explicitly it’s working

Like ip:8081/something

ProbotisOP 2022-08-09 13:56:22
VAifonin 2022-08-09 13:55:51
Show restController

springbootmicroservices-72261.jpg

VAifonin 2022-08-09 13:57:11
ProbotisOP 2022-08-09 13:56:22

Change @CrossOriginal(“*”)

ProbotisOP 2022-08-09 13:57:19
VAifonin 2022-08-09 13:57:11
Change @CrossOriginal(“*”)

Ok

ProbotisOP 2022-08-09 13:58:08
Let me try this
ProbotisOP 2022-08-09 14:00:45
VAifonin 2022-08-09 13:57:11
Change @CrossOriginal(“*”)

Same error

Spark 2022-08-09 14:01:02
ProbotisOP 2022-08-09 14:00:45
Same error

<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>4.0.1</version>
<scope>provided</scope>
</dependency>

Spark 2022-08-09 14:01:10
Can u add this in pom.xml
Spark 2022-08-09 14:01:13
And check
ProbotisOP 2022-08-09 14:02:03
Spark 2022-08-09 14:01:02
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>4.0.1</version>
<scope>provided</scope>
</dependency>

Okay

Sha 2022-08-09 15:13:42
How to consume oauth rest api in spring
AjayKumar_03 2022-08-09 15:32:47
ProbotisOP 2022-08-09 13:51:48
I have done all the CORS things, on my local host it was working fine now i deployed on server it’s giving me error

if you deployed app on azure/aws cloud server, then you need to update cors policy there as well

|