You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Laszlo Kishalmi (Jira)" <ji...@apache.org> on 2020/09/26 01:27:00 UTC

[jira] [Resolved] (NETBEANS-4204) java.lang.IllegalArgumentException: 2.0.0 is unknown version

     [ https://issues.apache.org/jira/browse/NETBEANS-4204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Laszlo Kishalmi resolved NETBEANS-4204.
---------------------------------------
    Fix Version/s: 12.2
       Resolution: Fixed

With the removal of the Oracle Jet plugin, this issue shall be resolved as well.

> java.lang.IllegalArgumentException: 2.0.0 is unknown version
> ------------------------------------------------------------
>
>                 Key: NETBEANS-4204
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-4204
>             Project: NetBeans
>          Issue Type: Bug
>          Components: projects - Gradle
>    Affects Versions: 11.3
>         Environment: Windows 10 64 bit version running on an AMD A10 Acer Aspire laptop.
>            Reporter: Ian Martin James Berry
>            Assignee: Laszlo Kishalmi
>            Priority: Major
>             Fix For: 12.2
>
>         Attachments: IDE Log.txt, UI Log
>
>
> Following this Spring MVC tutorial
> [https://www.djamware.com/post/5d9896d3abbb349ea4003e94/spring-boot-tutorial-build-an-mvc-java-web-app-using-netbeans]
> I created a Gradle Project using [https://start.spring.io/]
> I downloaded the project as a zip and unzipped it into the Netbeans project folder, opened this as a project in Netbeans and built it.
> The error occurred during the first run of the project.
> Running a second time produced this error:
> Exception in thread "task-2" java.lang.IllegalStateException: EntityManagerFactory is closed
>  at org.hibernate.internal.SessionFactoryImpl.validateNotClosed(SessionFactoryImpl.java:507)
>  at org.hibernate.internal.SessionFactoryImpl.getProperties(SessionFactoryImpl.java:501)
>  at org.springframework.boot.autoconfigure.orm.jpa.DataSourceInitializedPublisher.findDataSource(DataSourceInitializedPublisher.java:105)
>  at org.springframework.boot.autoconfigure.orm.jpa.DataSourceInitializedPublisher.publishEventIfRequired(DataSourceInitializedPublisher.java:97)
>  at org.springframework.boot.autoconfigure.orm.jpa.DataSourceInitializedPublisher.access$100(DataSourceInitializedPublisher.java:50)
>  at org.springframework.boot.autoconfigure.orm.jpa.DataSourceInitializedPublisher$DataSourceSchemaCreatedPublisher.lambda$postProcessEntityManagerFactory$0(DataSourceInitializedPublisher.java:200)
>  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>  at java.lang.Thread.run(Thread.java:748)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists