You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Debra Petta (Jira)" <ji...@apache.org> on 2020/07/20 03:57:00 UTC

[jira] [Commented] (NETBEANS-4468) No dependent plugins are available at Apache NetBeans plugin portal for Hibernate

    [ https://issues.apache.org/jira/browse/NETBEANS-4468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17160874#comment-17160874 ] 

Debra Petta commented on NETBEANS-4468:
---------------------------------------

After a lot of frustration and experimentation, I have found a solution/hack for this problem. 

Under the Apache netbeans installation directory, change to the ide/modules subfolder.   There should be an org-netbeans-libs-freemarker.jar file there.   If you open that jar as an archive (I used 7-zip) and look at the META-INF/MANIFEST.MF file, you should see the entry:   *OpenIDE-Module-Implementation-Version: 239* which is the jar for netbeans version 8.2.  ** So apparently netbeans has a conflict with this version of freemarker and is looking for the freemarker.jar with version 238, most likely for netbeans version 8.1. 

I googled "org-netbeans-libs-freemarker.jar" and the first hit in my search was at this link:    [http://137.254.56.27/nexus/content/groups/netbeans/org/netbeans/modules/org-netbeans-libs-freemarker/RELEASE81/] 

I downloaded the [org-netbeans-libs-freemarker-RELEASE81.jar|http://137.254.56.27/nexus/content/groups/netbeans/org/netbeans/modules/org-netbeans-libs-freemarker/RELEASE81/org-netbeans-libs-freemarker-RELEASE81.jar] displayed in the list and opened the META-INF/MANIFEST.MF for that jar (again using 7-zip), verifying that the "OpenIDE-Module-Implementation-Version" value was indeed ** 238.   Making sure that Apache netbeans wasn't running, I moved the original freemarker jar to a backup directory (for sanity) and copied the downloaded [org-netbeans-libs-freemarker-RELEASE81.jar|http://137.254.56.27/nexus/content/groups/netbeans/org/netbeans/modules/org-netbeans-libs-freemarker/RELEASE81/org-netbeans-libs-freemarker-RELEASE81.jar] to that ide/modules subfolder and renamed it to [org-netbeans-libs-freemarker|http://137.254.56.27/nexus/content/groups/netbeans/org/netbeans/modules/org-netbeans-libs-freemarker/RELEASE81/org-netbeans-libs-freemarker-RELEASE81.jar] [.jar|http://137.254.56.27/nexus/content/groups/netbeans/org/netbeans/modules/org-netbeans-libs-freemarker/RELEASE81/org-netbeans-libs-freemarker-RELEASE81.jar]

In my case, I had just uninstalled Apache netbeans and reinstalled it because I got into the situation where it would no longer start.  So with a fresh install, I was now able to download and add the Hibernate plugin with no issue.

Hope this helps! 

> No dependent plugins are available at Apache NetBeans plugin portal for Hibernate
> ---------------------------------------------------------------------------------
>
>                 Key: NETBEANS-4468
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-4468
>             Project: NetBeans
>          Issue Type: Improvement
>          Components: javaee - Hibernate
>         Environment: Debain 10.4 Buster AMD 64-bits  
> openjdk 11.0.7 2020-04-14 LTS
> Apache NetBeans 12.0 LTS
>            Reporter: Swapnil Sidram Nagtilak
>            Priority: Major
>              Labels: Debian
>         Attachments: error.png, hibernate plugin.png
>
>
> In Apache NetBeans 12.0 LTS 
> When I'm trying to install Hibernate plugin it says :
> *Some plugins require plugin Freemarker Integration to be installed*
> *^The plugin Freemarker Integration is requested in implementation version 238.^*
> ^{color:#172b4d}*The following plugin is affected:*{color}^       
> {color:#172b4d}*^Hibernate^*  {color}
>  
> {color:#172b4d}But at {color:#de350b}Apache Plugin Portal{color} *Freemarker* plugin is not available.  {color}
> {color:#172b4d}I tried installing *Freemarker* plugin from old *NetBeans' plugin portal*{color}
> {color:#172b4d}*[FreeMarker support for NetBeans{color}|http://plugins.netbeans.org/plugin/58284/freemarker-support-for-netbeans]*
> but getting same error. 
> !error.png!
>  
> {color:#172b4d}Please make them available on *Apache Plugin Portal*{color}



--
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