我是最近的 IntelliJ Idea 用户,但我不知道如何启用 Hibernate。当我右键单击我的项目时,Hibernate 不会出现在“添加框架支持”菜单中(实际上我可以选择的唯一技术是 Groovy)。
我在这里读过类似的消息。我检查了我的代理设置,似乎没问题。
我还阅读了idea.log 文件,其中包含几个异常,但是我无法得出任何结论。我错过了一些明显的东西吗?谢谢您的帮助。
以下是 idea.log 文件中的一些例外情况:
2013-06-27 13:59:28,897 [ 148537] INFO - indexing.UnindexedFilesUpdater - Unindexed files update done in 0 ms
2013-06-27 14:33:18,012 [2177652] INFO - ellij.vfs.persistent.FSRecords - Creating VFS corruption marker; Trace=
java.lang.Exception
at com.intellij.openapi.vfs.newvfs.persistent.FSRecords$DbConnection.createBrokenMarkerFile(FSRecords.java:160)
at com.intellij.openapi.vfs.newvfs.persistent.FSRecords$DbConnection.access$2100(FSRecords.java:105)
at com.intellij.openapi.vfs.newvfs.persistent.FSRecords.invalidateCaches(FSRecords.java:1413)
at com.intellij.ide.actions.InvalidateCachesAction.actionPerformed(InvalidateCachesAction.java:47)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:162)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter$1.run(ActionMenuItem.java:259)
at com.intellij.openapi.wm.impl.FocusManagerImpl.runOnOwnContext(FocusManagerImpl.java:892)
2013-06-27 17:00:00,750 [8794994] INFO - newvfs.persistent.PersistentFS - VFS dispose completed
2013-06-27 17:00:00,753 [8794997] ERROR - #com.intellij.util.Alarm - java.lang.InterruptedException
com.intellij.openapi.application.RuntimeInterruptedException: java.lang.InterruptedException
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:937)
at com.intellij.openapi.vcs.changes.VcsDirtyScopeManagerImpl.filePathsDirty(VcsDirtyScopeManagerImpl.java:161)
at com.intellij.openapi.vcs.changes.VcsDirtyScopeVfsListener$FileAndDirsCollector.markDirty(VcsDirtyScopeVfsListener.java:251)
at com.intellij.openapi.vcs.changes.VcsDirtyScopeVfsListener$FileAndDirsCollector.access$300(VcsDirtyScopeVfsListener.java:196)
at com.intellij.openapi.vcs.changes.VcsDirtyScopeVfsListener$1.run(VcsDirtyScopeVfsListener.java:92)
at com.intellij.openapi.vcs.ZipperUpdater$1.run(ZipperUpdater.java:64)
2013-06-27 17:00:01,086 [8795330] ERROR - #com.intellij.util.Alarm - IntelliJ IDEA 12.1.4 Build #IC-129.713
2013-06-27 17:00:01,086 [8795330] ERROR - #com.intellij.util.Alarm - JDK: 1.7.0_10
2013-06-27 17:00:01,086 [8795330] ERROR - #com.intellij.util.Alarm - VM: Java HotSpot(TM) Client VM
2013-06-27 17:00:01,087 [8795331] ERROR - #com.intellij.util.Alarm - Vendor: Oracle Corporation
2013-06-27 17:00:01,087 [8795331] ERROR - #com.intellij.util.Alarm - OS: Windows 7
2013-06-27 17:00:01,087 [8795331] ERROR - #com.intellij.util.Alarm - Original exception:
java.lang.InterruptedException
at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:996)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1303)
at java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.lockInterruptibly(ReentrantReadWriteLock.java:776)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:934)
at com.intellij.openapi.vcs.changes.VcsDirtyScopeManagerImpl.filePathsDirty(VcsDirtyScopeManagerImpl.java:161)
at com.intellij.openapi.vcs.changes.VcsDirtyScopeVfsListener$FileAndDirsCollector.markDirty(VcsDirtyScopeVfsListener.java:251)
at com.intellij.openapi.vcs.changes.VcsDirtyScopeVfsListener$FileAndDirsCollector.access$300(VcsDirtyScopeVfsListener.java:196)
at com.intellij.openapi.vcs.changes.VcsDirtyScopeVfsListener$1.run(VcsDirtyScopeVfsListener.java:92)
at com.intellij.openapi.vcs.ZipperUpdater$1.run(ZipperUpdater.java:64)