Hi,

Once you create one project and restart the IDE, creation of more
projects seem to work fine.

I was cleaning up after creating a project, using right-mouse->Delete. I
selected delete the source code as well and noticed the following in the
console window.

WARNING org.eclipse.aether.internal.impl.TrackingFileManager - Failed to
read tracking file
D:\Programs\M2\repository\org\springframework\boot\spring-boot-starter-parent\2.3.0.RELEASE\_remote.repositories
java.nio.channels.FileLockInterruptionException

I'm running on JDK 11.07+10 from adoptopenjdk.net.

I know Windows is notorious for holding file locks, so that's not
entirely unexpected.

However, why is NetBeans trying to delete something in my repository?

Deleting org\springframework\boot\spring-boot-starter-parent\2.3.0.RELEASE
from my repository reproduces the unloadable pom.xml problem. Once it's
back in my repository, all is well.

So, maybe something about reading the local repository, and then
something else about deleting stuff out of the local repository (?!) is
the problem?

I still have no idea why Netbeans would consider deleting anything out
of my local repository.

. . . just my two cents

Mark
/mde/

On 6/7/2020 10:40 AM, Alessandro wrote:
> Hi all,
>   I am facing https://issues.apache.org/jira/browse/NETBEANS-4341 .
> 
> The bug hinders the usability of my NBSpringBoot plugin as it manifests
> immediately when creating new Spring Boot projects.
> 
> Has something changed recently in NB12.0 with regard to the Maven area?
> 
> Apparently after a maven build and download of dependencies a project
> reindex is not triggered and NB thinks the project is still unloadable for
> missing dependencies.
> 
> Regards.
> *--*
> *Alessandro Falappa*
> 


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to