Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all 5661 articles
Browse latest View live

Hot swapping on Multi-module maven project

$
0
0

Hi all,

 

I am evaluating IntelliJ IDEA 13 Ultimate for my workplace and I have come across an issue. Currently we develope using Eclipse IDE where we have an Enteprise Application (ear) deployed onto Weblogic 10.3.x which is only a matter of right-clicking on the parent module to deploy onto the server. I have succesfully imported the project into IntelliJ and activated all necessary plugins, such as Java EE, Weblogic integration etc. Initially I had a few issues with dependencies being at the wrong scope (although in eclipse it worked fine) and when I changed from Test to Provided everything worked fine.

 

I created a Run configuration for Weblogic server and under deployment I chose ear:exploded ear so that I can take advantage of reloading classes and resources without having to redeploy the app. Although I can succesfully deploy the app with no errors, I make some changes to an xhtml file, do Ctrl + F10 then reload my browser but I don't see the changes which led me to believe that I am missing something fundamental.

 

The app is spring, jsf1.1, javascript. I have attached a few screenshots but I do not how helpfull they are.

 

Regards,

George


IntelliJ IDEA 13.1.2 run/debug buttons get disabled randomly

$
0
0

"randomly" or I can't identify a way to accurately reproduce the issue.  When I'm working, occasionally I'll hit the run or debug button with a specific configuration selected and that button (not both, just the one I pressed) will become grayed out (it typically does while its in the middle of compiling), but then the application doesn't run at all.  The compilation seems to finish just fine, and there are no errors anywhere in the Messages window.  The run or debug button remains grayed out and currently my solution is to simply restart IntelliJ to get it back.

 

First, is this something I'm doing wrong? Or is actually a bug with IntelliJ? It seems more like the latter.

 

Second, are there any known work arounds? Does anyone else experience something similar?  A Google search revealed several other problems that are either in older versions, or similar but unrelated problems.

 

Thanks,

Marcus Johnson

Checkout from Version Control - Bonobo Git Server

$
0
0

Hi folks,

 

I'm trying to checkout a GIT repository using the most recent IntelliJ 13 version.

On the IntelliJ welcome screen I'm pressing "Checkout from Version Control" and choosing GIT as provider.

As VCS Repository URL I'm entering http://git.mydomain.com/Tools.git

A hit of the Button Test shows me the information "Repository test has failed".

 

I am using a Bonobo GIT Server hosted in an IIS 7.5 on Windows Server 2008 R2.

Username and Password is necessary to clone the repo.

I also tried an URL like http://user:pwd@git.mydomain.com/Tools.gitpwd@git.mydomain.com/Tools.git

It's possible to clone the Repo using commandline GIT tools.

 

Any idea what's going wrong?

 

Any help is appreciated.

 

Kind regards

Maxx

Impossible to set global SDK after upgrade to 13.1.2

$
0
0

Upgraded on Apr 24 from 13.1.1 to 13.1.2

IntelliJ comes up without Global SDK set (why?!) and any attempts to set it result in errors

 

- errors go in idea.log only, without any explanation in the IDE itself

- errors look like below, with various class names

- per suggestion of Serge Baranov I disabled all plug-ins except IDEAIvy, which I need for builds, but that did not help, although particular class that was "NotFound" has changed

- I downloaded a fresh JDK from Oracle, it's the same that is used by Windows 7 OS, Chrome and other software on this machine, I don't think the SDK itself is a problem

- Upgraded to lates 13.1.2 build on Apr 28 - no difference

 

Can one do anything withour a global SDK? the answer is NO

 

2014-04-28 18:56:36,181 [ 483317]  ERROR - llij.ide.plugins.PluginManager - Could not initialize class com.intellij.openapi.vfs.impl.jar.JarHandler$CacheLibraryInfo

java.lang.NoClassDefFoundError: Could not initialize class com.intellij.openapi.vfs.impl.jar.JarHandler$CacheLibraryInfo

 

at com.intellij.openapi.vfs.impl.jar.JarHandler.getMirrorWithContentHash(JarHandler.java:117)

 

at com.intellij.openapi.vfs.impl.jar.JarHandler.getMirrorFile(JarHandler.java:94)

 

at com.intellij.openapi.vfs.impl.jar.JarHandlerBase.createJarFile(JarHandlerBase.java:102)

 

at com.intellij.openapi.vfs.impl.jar.JarHandlerBase.getJar(JarHandlerBase.java:88)

 

at com.intellij.openapi.vfs.impl.jar.JarHandlerBase.convertToEntry(JarHandlerBase.java:282)

 

at com.intellij.openapi.vfs.impl.jar.JarHandlerBase.getAttributes(JarHandlerBase.java:348)

 

at com.intellij.openapi.vfs.impl.jar.JarFileSystemImpl.getAttributes(JarFileSystemImpl.java:363)

 

at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.getId(PersistentFSImpl.java:392)

 

at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.doFindChild(VirtualDirectoryImpl.java:231)

 

at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.findChild(VirtualDirectoryImpl.java:108)

 

at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.findChild(VirtualDirectoryImpl.java:656)

 

at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.findChild(VirtualDirectoryImpl.java:61)

 

at com.intellij.openapi.vfs.newvfs.VfsImplUtil.findFileByPath(VfsImplUtil.java:55)

 

at com.intellij.openapi.vfs.impl.jar.JarFileSystemImpl.findFileByPath(JarFileSystemImpl.java:326)

 

at com.intellij.openapi.vfs.impl.VirtualFileManagerImpl.findFileByUrl(VirtualFileManagerImpl.java:135)

 

at com.intellij.openapi.projectRoots.impl.JavaSdkImpl.findInJar(JavaSdkImpl.java:543)

 

at com.intellij.openapi.projectRoots.impl.JavaSdkImpl.findSources(JavaSdkImpl.java:517)

 

at com.intellij.openapi.projectRoots.impl.JavaSdkImpl.findSources(JavaSdkImpl.java:504)

 

at com.intellij.openapi.projectRoots.impl.JavaSdkImpl.setupSdkPaths(JavaSdkImpl.java:320)

 

at com.intellij.openapi.projectRoots.SdkType.setupSdkPaths(SdkType.java:85)

 

at com.intellij.openapi.roots.ui.configuration.projectRoot.ProjectSdksModel.setupSdk(ProjectSdksModel.java:284)

 

at com.intellij.openapi.roots.ui.configuration.projectRoot.ProjectSdksModel.access$200(ProjectSdksModel.java:48)

 

at com.intellij.openapi.roots.ui.configuration.projectRoot.ProjectSdksModel$5.consume(ProjectSdksModel.java:275)

 

at com.intellij.openapi.roots.ui.configuration.projectRoot.ProjectSdksModel$5.consume(ProjectSdksModel.java:269)

 

at com.intellij.openapi.projectRoots.impl.SdkConfigurationUtil$7.consume(SdkConfigurationUtil.java:303)

 

at com.intellij.openapi.projectRoots.impl.SdkConfigurationUtil$7.consume(SdkConfigurationUtil.java:298)

 

at com.intellij.openapi.fileChooser.ex.FileChooserDialogImpl.choose(FileChooserDialogImpl.java:133)

 

at com.intellij.openapi.fileChooser.FileChooser.chooseFiles(FileChooser.java:111)

 

at com.intellij.openapi.fileChooser.FileChooser.chooseFiles(FileChooser.java:89)

 

at com.intellij.openapi.projectRoots.impl.SdkConfigurationUtil.selectSdkHome(SdkConfigurationUtil.java:298)

 

at com.intellij.openapi.roots.ui.configuration.projectRoot.ProjectSdksModel.doAdd(ProjectSdksModel.java:269)

 

at com.intellij.openapi.roots.ui.configuration.projectRoot.ProjectSdksModel$3.actionPerformed(ProjectSdksModel.java:251)

 

at com.intellij.ui.popup.PopupFactoryImpl$ActionPopupStep$1.run(PopupFactoryImpl.java:733)

 

at com.intellij.ui.popup.AbstractPopup$18.run(AbstractPopup.java:1248)

 

at com.intellij.openapi.wm.impl.FocusManagerImpl.flushRequest(FocusManagerImpl.java:649)

 

at com.intellij.openapi.wm.impl.FocusManagerImpl.flushNow(FocusManagerImpl.java:630)

 

at com.intellij.openapi.wm.impl.FocusManagerImpl.flushIdleRequests(FocusManagerImpl.java:600)

 

at com.intellij.openapi.wm.impl.FocusManagerImpl.access$200(FocusManagerImpl.java:60)

 

at com.intellij.openapi.wm.impl.FocusManagerImpl$7.run(FocusManagerImpl.java:496)

 

at com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:2053)

 

at com.intellij.openapi.wm.impl.FocusManagerImpl.doWhenFocusSettlesDown(FocusManagerImpl.java:474)

 

at com.intellij.openapi.wm.impl.IdeFocusManagerImpl.doWhenFocusSettlesDown(IdeFocusManagerImpl.java:59)

 

at com.intellij.ui.popup.AbstractPopup.dispose(AbstractPopup.java:1254)

 

at com.intellij.ui.popup.WizardPopup.dispose(WizardPopup.java:153)

 

at com.intellij.ui.popup.list.ListPopupImpl.dispose(ListPopupImpl.java:290)

 

at com.intellij.ui.popup.WizardPopup.disposeAllParents(WizardPopup.java:256)

 

at com.intellij.ui.popup.list.ListPopupImpl.handleNextStep(ListPopupImpl.java:407)

 

at com.intellij.ui.popup.list.ListPopupImpl._handleSelect(ListPopupImpl.java:367)

 

at com.intellij.ui.popup.list.ListPopupImpl.tryToAutoSelect(ListPopupImpl.java:129)

 

at com.intellij.ui.popup.list.ListPopupImpl.beforeShow(ListPopupImpl.java:92)

 

at com.intellij.ui.popup.AbstractPopup.show(AbstractPopup.java:673)

 

at com.intellij.ui.popup.WizardPopup.show(WizardPopup.java:199)

 

at com.intellij.ui.popup.AbstractPopup.show(AbstractPopup.java:432)

 

at com.intellij.ui.popup.AbstractPopup.showUnderneathOf(AbstractPopup.java:426)

 

at com.intellij.openapi.ui.MasterDetailsComponent$MyActionGroupWrapper.actionPerformed(MasterDetailsComponent.java:936)

 

at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:164)

 

at com.intellij.openapi.actionSystem.impl.ActionButton.actionPerformed(ActionButton.java:170)

 

at com.intellij.openapi.actionSystem.impl.ActionButton.performAction(ActionButton.java:133)

 

at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:313)

 

at java.awt.Component.processEvent(Component.java:6270)

 

at java.awt.Container.processEvent(Container.java:2229)

 

at java.awt.Component.dispatchEventImpl(Component.java:4861)

 

at java.awt.Container.dispatchEventImpl(Container.java:2287)

 

at java.awt.Component.dispatchEvent(Component.java:4687)

 

at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)

 

at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)

 

at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)

 

at java.awt.Container.dispatchEventImpl(Container.java:2273)

 

at java.awt.Window.dispatchEventImpl(Window.java:2719)

 

at java.awt.Component.dispatchEvent(Component.java:4687)

 

at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)

 

at java.awt.EventQueue.access$200(EventQueue.java:103)

 

at java.awt.EventQueue$3.run(EventQueue.java:694)

 

at java.awt.EventQueue$3.run(EventQueue.java:692)

 

at java.security.AccessController.doPrivileged(Native Method)

 

at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)

 

at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)

 

at java.awt.EventQueue$4.run(EventQueue.java:708)

 

at java.awt.EventQueue$4.run(EventQueue.java:706)

 

at java.security.AccessController.doPrivileged(Native Method)

 

at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)

 

at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)

Intellij - Gradle - OSX - Where is the build cache ?

$
0
0

Hello dear IntelliJ-users,

 

I am trying to build a Gradle-based Android project but my IDE (IntelliJ Ultimate 13.1) is failing hard while trying to assemble my project :

Error:Internal error: (java.lang.OutOfMemoryError) Java heap space

java.lang.OutOfMemoryError: Java heap space

at org.jetbrains.jps.incremental.storage.TimestampStorage$StateExternalizer.read(TimestampStorage.java:126)

at org.jetbrains.jps.incremental.storage.TimestampStorage$StateExternalizer.read(TimestampStorage.java:115)

at com.intellij.util.io.PersistentHashMap.doGet(PersistentHashMap.java:427)

at com.intellij.util.io.PersistentHashMap.get(PersistentHashMap.java:398)

at org.jetbrains.jps.incremental.storage.AbstractStateStorage.getState(AbstractStateStorage.java:118)

at org.jetbrains.jps.incremental.storage.TimestampStorage.getStamp(TimestampStorage.java:52)

at org.jetbrains.jps.incremental.FSOperations.traverseRecursively(FSOperations.java:197)

at org.jetbrains.jps.incremental.FSOperations.traverseRecursively(FSOperations.java:189)

at org.jetbrains.jps.incremental.FSOperations.traverseRecursively(FSOperations.java:189)

at org.jetbrains.jps.incremental.FSOperations.traverseRecursively(FSOperations.java:189)

at org.jetbrains.jps.incremental.FSOperations.traverseRecursively(FSOperations.java:189)

at org.jetbrains.jps.incremental.FSOperations.traverseRecursively(FSOperations.java:189)

at org.jetbrains.jps.incremental.FSOperations.traverseRecursively(FSOperations.java:189)

at org.jetbrains.jps.incremental.FSOperations.traverseRecursively(FSOperations.java:189)

at org.jetbrains.jps.incremental.FSOperations.markDirtyFiles(FSOperations.java:174)

at org.jetbrains.jps.incremental.BuildOperations.initTargetFSState(BuildOperations.java:72)

at org.jetbrains.jps.incremental.BuildOperations.ensureFSStateInitialized(BuildOperations.java:64)

at org.jetbrains.jps.incremental.IncProjectBuilder.buildTargetsChunk(IncProjectBuilder.java:850)

at org.jetbrains.jps.incremental.IncProjectBuilder.buildChunkIfAffected(IncProjectBuilder.java:772)

at org.jetbrains.jps.incremental.IncProjectBuilder.buildChunks(IncProjectBuilder.java:595)

at org.jetbrains.jps.incremental.IncProjectBuilder.runBuild(IncProjectBuilder.java:352)

at org.jetbrains.jps.incremental.IncProjectBuilder.build(IncProjectBuilder.java:184)

at org.jetbrains.jps.cmdline.BuildRunner.runBuild(BuildRunner.java:129)

at org.jetbrains.jps.cmdline.BuildSession.runBuild(BuildSession.java:224)

at org.jetbrains.jps.cmdline.BuildSession.run(BuildSession.java:113)

at org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler$1.run(BuildMain.java:133)

at org.jetbrains.jps.service.impl.SharedThreadPoolImpl$1.run(SharedThreadPoolImpl.java:41)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

at java.util.concurrent.FutureTask.run(FutureTask.java:262)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

at java.lang.Thread.run(Thread.java:744)

 

By reading the stack trace, i suggested that it was a problem of a corrupted "build cache" so I tried to re-clone my repo in a full-new folder and try again to re-import and re-build my project and IntelliJ succeded to build the newly-created project.

 

By assuming my project is in $HOME/project/myproject, where is supposed to be the "build cache" that is breaking my build ?

I already tried to invalidate cache/restart but this is doing nothing.

 

Thanks for reading and, hopefully, for helping.

 

Pierre.

Deploy to Wildfly deployments dir instead of project's target dir?

$
0
0

I have created a Wildfly server and I pointed it to the C:\dev\wildfly dir.

 

However, when I deploy the application via the run configurations, the webapp is always deployed to the project's target directory (using an exploded WAR).

 

How do you deploy to the Wildfly server's C:\dev\wildfly\standalone\deployments dir (like Eclipse did) instead of the C:\projects\myproject\target\MyProject-0.5-SNAPSHOT.war dir?

 

Thanks

org.eclipse.persistence.internal.jpa.modelgen.CanonicalModelProcessor not found

$
0
0

Hello,

We have Maven projects with Eclipselink 2.5.1 integration. Unit tests using Intellij stop working for me with error "Error:java: error: Annotation processor 'org.eclipse.persistence.internal.jpa.modelgen.CanonicalModelProcessor' not found". But it worked for me with Eclipselink 2.3 and still working using maven commands.

May be somebody have solution for this issue?

idea 13.1.2 locks up when trying to add/configure a server for php debugging

$
0
0

After upgrading to 13.1.2 - if I click run in the menu then choose edit configurations, then choose a php web application and click ... by the server dropdown intellij freezes and I have to force quit to get out of it.  I'm using Mac os mavericks.  I've updated the PHP plugin version to 136.1768.

 

Also if I click preferences, search for php and then click PHP -> Servers on the left hand column I get a spinning wheel that never goes away.  Usually at this point i have to force quit as well although sometimes the cancel button will work, but if the cancel button closes the dialog then things seem unstable after.

 

I'm attaching the idea log in case it is useful.

 

Any ideas on how to correct this?


What is the best approach for logging in IntelliJ 13.1.2?

$
0
0

What ist the best or common approach for simple console application logging in IntelliJ 13.1.2? I'm one of these guys that always used the good old console println approach. But this is evil, some say. So I want to dive into logging with Java 1.8 and IntelliJ 13.1.2 community edition. There are so many logging frameworks out there that I'm quite confused. Is it still necessary to use an external logging framework like log4j from Apache.org or is logging with Java 1.8 fundamental changed?

 

I'm also new to IntelliJ and not sure how to add one of these frameworks to my application. Is there a IntelliJ approach for build in logging? Basically I only want to get rid of my if...else constructs, for debug logging output. Of course I could write my own logging facility but this is also evil, some say. ;-)

Anyone have a list of issues with running IntelliJ under Java 8 on OS/X?

$
0
0

I'm curious about the issues with running IntelliJ under Java 8u5 on OS/X. I've seen various complaints but not a lot of concrete issues. I'm curious about what those concrete issues are and whether there are defects filed with Oracle about them. To get the ball rolling, here's my contribution:

 

1. Fonts show some issues on a retina display. For example, I've seen letters slightly cut off in the editor, but selecting and unselecting the text shows the letters correctly. Not sure if this is retina specific or generic.

 

2. IntelliJ forces the use of the discrete GPU. This is not specific to IntelliJ, this appears to happen to _all_ Java 8 AWT apps. A hack workaround is to use the gfxCardStatus app.

 

Anyone else? And anyone with links to Oracle bug reports?

[Flex] Whilst debugging, sometimes editor window will duplicate

$
0
0

Hey,

 

Great effort on bringing 13.1 live!

There seem to be one issue though for me. Whilst I'm debugging my Flex project and stepping through lines of code, very often I notice that editor window duplicates time after time, making the whole thing unusable.

Basically, another editor window pops up with the same file opened as I'm currently debugging.

 

Any suggestions?

Thanks.

Code Folding: opening on its own. Stateful fold request

$
0
0

I've been noticing that I will occasionally jump out of JetBrains and when I come back, code sections I had collapsed are suddenly expanded without my having done anything to cause it.

 

Aside from that, I would like to be able to define items to have collapsed by default when I open a file, or restart the IDE.

 

Would it be possible for the custom region folding to support an attribute that would define whether a region is collapsed or expanded when the file is loaded?

problem with code formatter and case indent

$
0
0

You can configure IntelliJ to format case statements with or without

indentation.

 

This works fine so long as you don't enclose your case block in {}. If

you do, it refuses to indent.  So what?  Take off the {}.  But

that will often create duplicate declarations.

--

Roedy Green Canadian Mind Products http://mindprod.com

Culture is your operating system.

~ Terence McKenna (born: 1946-11-16 died: 2000-04-03 at age: 53)

 

Usage hierarachy?

$
0
0

Eclipse has what it calls a "call hierarchy". It starts out like Show Usages, but each usage is itself a tree node.  When you expand that tree node, you see usages of that thing.  Expand a child of that, and you get usages of the child.  And so on.  So my usages tree for a function e() might look something like this:

 

-e     -d          +a           -c               +b               +a     +c

 

In this case, e is used by d and c.  I've expanded d to see that a and c use d.  I've then expanded that c node to see that b and a use c.

 

Is there a similar view in IntelliJ?  I know that when I'm in the Find window for a Show Usages, I can double-click to go to the source code for a usage, and then hit Show Usages again to open another tab in the Find window with the Show Usages for what I just double-clicked to, but it's not as convenient.

 

I'm most interested in this for Flex code, but I imagine if it's available for one language, it's available anywhere.

v13.1.2 unstable? (lost cursor and then ignore keystrokes)

$
0
0

Hi,

 

Since I updated to IJ 13.1.2 CE (on XUbuntu 13.04), I often experience a lack of responsiveness which eventually (after a few hours) makes the cursor disappear and few keystroke later, the editor ignores all keystrokes. What I do is basic editing and Shift-Ctrl-F9 to compile. If I exit IJ and restart it again, the issue disappears and will come back later.

 

Now go back to 13.1.1 where this issue didn't exist. Sorry for the vague report, if you need anything other info, please show me how to get that info.

 

Thanks


How do i set jetty session timeout when testing my GWT app?

$
0
0

Hey there,

 

basically what the title says. Been looking around for a while now with no success.

 

I have a gwt configuration to run my gwt app that fires up Jetty. I would like to set the session timeout to like 1-2 minutes for testing.

 

If anybody can help me out, i'd be much obliged.

Checkout from Version Control - Bonobo Git Server

$
0
0

Hi folks,

 

I'm trying to checkout a GIT repository using the most recent IntelliJ 13 version.

On the IntelliJ welcome screen I'm pressing "Checkout from Version Control" and choosing GIT as provider.

As VCS Repository URL I'm entering http://git.mydomain.com/Tools.git

A hit of the Button Test shows me the information "Repository test has failed".

 

I am using a Bonobo GIT Server hosted in an IIS 7.5 on Windows Server 2008 R2.

Username and Password is necessary to clone the repo.

I also tried an URL like http://user:pwd@git.mydomain.com/Tools.gitpwd@git.mydomain.com/Tools.git

It's possible to clone the Repo using commandline GIT tools.

 

Any idea what's going wrong?

 

Any help is appreciated.

 

Kind regards

Maxx

Hot swapping on Multi-module maven project

$
0
0

Hi all,

 

I am evaluating IntelliJ IDEA 13 Ultimate for my workplace and I have come across an issue. Currently we develope using Eclipse IDE where we have an Enteprise Application (ear) deployed onto Weblogic 10.3.x which is only a matter of right-clicking on the parent module to deploy onto the server. I have succesfully imported the project into IntelliJ and activated all necessary plugins, such as Java EE, Weblogic integration etc. Initially I had a few issues with dependencies being at the wrong scope (although in eclipse it worked fine) and when I changed from Test to Provided everything worked fine.

 

I created a Run configuration for Weblogic server and under deployment I chose ear:exploded ear so that I can take advantage of reloading classes and resources without having to redeploy the app. Although I can succesfully deploy the app with no errors, I make some changes to an xhtml file, do Ctrl + F10 then reload my browser but I don't see the changes which led me to believe that I am missing something fundamental.

 

The app is spring, jsf1.1, javascript. I have attached a few screenshots but I do not how helpfull they are.

 

I think I have realized what the problem could be but I don't know how to fix it.

 

The ear:exploded which I am deploying has the structure shown in conf2.jpg, notice that the item one before the last in Output Layout is a .war. This .war contains all the web module related jars which contains all the views (.xhtml). Shoudn't that be unpacked in order for the reloading of resources to work? How do I set this up? When I select ear:exploded, under Available Elements > Artifacts I don't get web-war:exploded. So how can I move it into the ear:exploded artifact?

 

Regards,

George

IntelliJ IDEA 13.1.2 run/debug buttons get disabled randomly

$
0
0

"randomly" or I can't identify a way to accurately reproduce the issue.  When I'm working, occasionally I'll hit the run or debug button with a specific configuration selected and that button (not both, just the one I pressed) will become grayed out (it typically does while its in the middle of compiling), but then the application doesn't run at all.  The compilation seems to finish just fine, and there are no errors anywhere in the Messages window.  The run or debug button remains grayed out and currently my solution is to simply restart IntelliJ to get it back.

 

First, is this something I'm doing wrong? Or is actually a bug with IntelliJ? It seems more like the latter.

 

Second, are there any known work arounds? Does anyone else experience something similar?  A Google search revealed several other problems that are either in older versions, or similar but unrelated problems.

 

Thanks,

Marcus Johnson

Next Occurrence of highlighted identifier?

$
0
0

When I've got the cursor on an identifier (let's say a variable, for now, but the same question holds for any identifier), I can hit Find Usages and then use Prev/Next Occurrence to move from usage to usage.  That's nice, but requires an extra keystroke (Alt-F7 in my case, for Find Usages).  The usages in the current file are already highlighted for me without hitting Find Usages, so is there any way to just jump to the previous or next Occurrence (i.e. the prev/next highlighted occurrence) without having to go through Find Usages first?

 

I like how Prev/Next Occurrence are always the same buttons/keystrokes in any window, and apply to the things in that window.  So I expected this to be what they meant in the editor window: go to the prev/next occurrence of the thing the cursor is on, and I am surprised that they don't work that way.  Or maybe they do, and I'm just doing something wrong?

 

Rob

Viewing all 5661 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>