I'm using the same project in NB beta 1 and NB beta 2.
In NB beta 1 all is ok.
When I use a project in NB beta 2 it fails with this error:
Exception in thread "AWT-EventQueue-0" javax.persistence.PersistenceException: No Persistence provider for
EntityManager named ZakazkyTestPU: The following providers:
Returned null to createEntityManagerFactory.
at org.jdesktop.swingworker.SwingWorker$5.run(Unknown Source)
When the project is stored in the implicit folder in Documents and Settings\.. \Documents\NetBeansProjects then all
Can it be caused by the update of beans binding library?
Reassigning to "form".
Did you try to clean/build the project? Did it help?
> When the project is stored in the implicit folder in Documents and Settings\..\Documents\NetBeansProjects
> then all is ok.
What is the name of the folder where is the problematic project stored? Does the folder (or path to this folder)
contain some non-ASCII characters?
> Did you try to clean/build the project? Did it help?
Of course I did. But it dosn't help.
> What is the name of the folder where is the problematic project stored? Does the folder (or path to this folder)
> contain some non-ASCII characters?
Here is the full path
d:\_Programovani\1 Java\4 Projects\2 Rozpracované\PZS-1.0.0\src\
I will check another path without non-ASCII characters.
>> Did you try to clean/build the project? Did it help?
> Of course I did. But it dosn't help.
I thought so, but I have to verify that ;-).
> Here is the full path
> d:\_Programovani\1 Java\4 Projects\2 Rozpracované\PZS-1.0.0\src\
That seems to be the root of the problem. Recently, we have found out that TopLink has problems with directories with
some non-ASCII characters. Unfortunately, we cannot fix or workaround that. It must be fixed in TopLink library itself.
It is a regression in the latest TopLink builds - the version bundled with NetBeans 6.0 Beta 1 didn't have this problem.
*** This issue has been marked as a duplicate of 119567 ***
I have changed the path
d:\_Programovani\1 Java\4 Projects\2 Rozpracované\PZS-1.0.0\
d:\_Programovani\1 Java\4 Projects\2 Rozpracovane\PZS-1.0.0\
and now it is working.