java answer exec-maven-plugin:1.2.1 in Netbeans - java

I'm running a program in Java JDK 8.2 using Netbeans but there is an error that says the maven link failed to be download or something, when I searched for the problem they said I should change all URLs from HTTP to HTTPS but I don't know where exactly I should change it.
so my question is where should I change the UMLs or what files should I download?
here are pictures of the article explaining what to do and the error occurring in Netbeans:
the atricle
The error

Related

How to resolve the javaee_7.xsd error that occurs in the web.xml file? [duplicate]

This question already has an answer here:
Eclipse Language Servers: There is '1' error in 'javaee_7.xsd'
(1 answer)
Closed 1 year ago.
I've seen one other user have this issue without a posted solution.
I'm still fairly new to the Enterprise Edition of Eclipse and have recently downloaded it to work on a web project. I added my apache Tomcat v10.0 Server without any issues and create a new Dynamic Web Project. Whenever I open the web.xml file I get this visual error and sometimes it pops up on its own. I've attempted to do this on my laptop and got the exact same error so I don't think it's an issue with my system. I would appreciate any help or ideas. Open to any extra details to help with resolving the issue.
Image of Project Explorer and web.xml file.
Image of web.xml file.
Image of warning for "http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd"
Image of error in 'javaee_7.xsd'
EDIT: Small solution workaround to anyone who's having the same issue.
If you're ok with using a slightly older version of Eclipse EE, the version from 2020-09 works. Any newer versions run into the same issue. This version only goes up to Tomcat V9.
Just use eclipse installer -> [Top Right Hand] Select Dropdown Menu and Update -> Eclipse IDE for Enterprise Java -> Should be able to change the Product Version to 2020-09.
Not a fix if you need to use the newer version of Eclipse EE.
I had the same error, dividing the long line "<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://xmlns.jcp.org/xml/ns/javaee" ...." into several lines solves the error.

Eclipse not working on Mac, Java application is missing somehow

so here is the thing, I accidentally deleted Xcode completely and honestly, I don't know if this has to do anything with my problem.
Today I tried to launch Eclipse but then I got an alert saying "failed to create the java virtual machine". I checked my applications and I found out that Java application is missing.
I did install Java again and launched Eclipse, this time eclipse worked but right away two problems occurred (see the attached photos)enter image description hereenter image description here.
Can someone PLEASE tell me what is going on and how to fix such a thing?
Read the Eclipse bug report and upgrade to the latest version of Eclipse.

Unable to access modules in netbeans; says I need to download JDK

I have been doing a java course from https://java-programming.mooc.fi/ using net beans and the application called tmcbeans it made me download. However, a couple days ago I updated my MAC software to Mac OS Big Sur and I have been getting an error that says
"The JDK is missing and is required to run some NetBeans modules Please use the --jdkhome command line option to specify a JDK installation or see http://wiki.netbeans.org/FaqRunningOnJre for more information"
I tried going to the website listed but I was unable to find a link to download the full JDK and I tried downloading through https://netbeans.apache.org/ but I am still recieving the same errror.
Any feedback is helpful, I am very new to coding and would like to get back to it as soon as I can.
Thank you!
Below is an image of the error I recieve

Java Runtime Fatal Error when debugging app

So I have been trying to run my Java application in IntelliJ for a while now. Every time I do, I receive
I thought maybe it was my app at first but I've tried a few Java apps that I found on Github and I receive the same error. I have updated both my Java and JDK to the latest versions but to no avail.
I'm still somewhat new to Java, so looking at this log file has confused me. The log file can be found here: https://cdn.mrboolean.com/hs_err_pid22108.log

Unable to install JDK - malformed configuration file

I have thouroughly scoured the internet for anyone who has encountered the same error as me but to no success. I also checked this website for any previous threads asking a similar question and found nothing helpful.
I want to install a Java Development Kit (JDK) which I need to do in order to program a mod for Minecraft. I've downloaded: 'jdk-8u5-windows-x64' from the official Oracle website as I was instructed to by a person's tutorial. The guy said that installing the JDK is "pretty straight-forward" and that all you have to do is "download the executable and run it, and it will install everything for you".
Here's the problem/error. When I open the exe. for the JDK installer I get the following error:
https://i.stack.imgur.com/Exqxj.png
And when I go to the directory I see this:
https://i.stack.imgur.com/2sSB0.png
Notes that may be of interest:
I have previously installed and uninstalled versions of Java in the past.
I'm using this JDK for the program 'Eclipse' which I have recently re-installed.
I have no idea what I'm doing.
Thank you all very much, it's fixed now. I found a folder with a previous version of JDK that I had installed in the past and deleted that. I then navigated to the directory that it gave and deleted the configuration file it was complaining about.
Deleting the file allows it to be regenerated but the error is telling you the actual issue.
If you look at line 1 in your java.settings.cfg, you will see that it doesn't match the Oracle flags. How this happens I don't know but I noticed it installing Java 9 JDK on a new machine.
On an installation of java 8, I had the settings line 1 as "AUTOUPDATE=0"
But if you check the config guidelines.
You will see the actual pair should have 'AUTO_UPDATE not AUTOUPDATE'.
You can delete the file but you are deleting your configuration and hoping it rebuilds correctly.
I had similar issue... I went to that directory it is complaining about in your screenshot.. and I deleted that file. After that, the installer worked. The directory won't show up -- so you have to type it to navigate to it. https://i.stack.imgur.com/Exqxj.png

Categories

Resources