Thursday, July 29, 2021
Eclipse issue: Could not write metadata for '/RemoteSystemsTempFiles' ... (Access is denied)
Eclipse throws the following message:
Could not write metadata for '/RemoteSystemsTempFiles' ... (Access is denied)
..\eclipse-jee-2021-03_revision\.metadata\.plugins\org.eclipse.core.resources\.projects\RemoteSystemsTempFiles\.markers.snap (Access is denied)
1. Most probable possibility is folder corruption.
Delete it and make it again.
Example (Windows, dos):
mkdir L:\portables_d\ide_home\eclipse-jee-2021-03_revision\.metadata\.plugins\org.eclipse.core.resources\.projects\RemoteSystemsTempFiles\.markers.snap
2. Less probable is access permission.
If linux, check and use chmod.
If Windows, follow the figure:
Windows 10
eclipse-jee-2021-03
Thursday, July 22, 2021
Eclipse: JSF: schema_reference.4: Failed to read schema document 'platform:/plugin/org.eclipse.xsd/cache/www.w3.org/2001/xml.xsd'
>PROBLEM
Eclipse returns on face-config.xml file the following message:
schema_reference.4: Failed to read schema document 'platform:/plugin/org.eclipse.xsd/cache/www.w3.org/2001/xml.xsd'
>SOLUTION
1. Test the URLs pointing them on the browse to make sure that they exist.
<?xml version="1.0" encoding="UTF-8"?>
<faces-config version="2.2" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_2_2.xsd">
2. If all URLs points to a valid page, try to change something on the page and save again.
In this example, the "faces-config" element was rearranged like this:
<?xml version="1.0" encoding="UTF-8"?>
<faces-config version="2.2" xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_2_2.xsd">
>ENV
st03ajs
jsf2.2
java13
wildfly8
Friday, July 16, 2021
Git - Fix Corrupted Object Issue - Simple solution for: error: object file .git/objects ... fatal: loose object ...is corrupt
>PROBLEM
Git pull command fails returning error message of corrupted file:
git pull
error: object file .git/objects/dd/4b0b1a777609ba3f787823e566bfc989905319 is empty
fatal: loose object dd4b0b1a777609ba3f787823e566bfc989905319 (stored in .git/objects/dd/4b0b1a777609ba3f787823e566bfc989905319) is corrupt
>SOLUTION
1.. Copy the corrupted file from another local repository.
If there isn't another, you may clone one.
2. Issue the pull command again.
>ENV
windows 10
Subscribe to:
Posts (Atom)
eclipse: java: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder" or Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/impl/StaticLoggerBinder
>PROBLEM Using Eclipse, you try to run a simple logging test using "org.slf4j.Logger" like the sample below: package Test; im...
-
>PROBLEM Using JSF, Primefaces and p:growl the messages return duplicated (twice). This kind of issue may have alternative reasons. On ...
-
>PROBLEM An attempt to update the local repository using pull and push fails returning the following message: ... ! [remote rejected] m...