Quantcast
Channel: JetBrains Developer Community : All Content - IntelliJ IDEA Users
Viewing all 5481 articles
Browse latest View live

Keep getting dialog saying license active on another computer

$
0
0

So yes, I have an instance open at an offsite location which I am unable to get to disable at the moment.

This dialog keeps opening every 5 minutes or so asking telling me this and asking if I want to enable the current computer. I agree to do so but that doesn't appear to be enough.

There doesn't appear to be a way to disable this dialog from coming back unless however I disable the networking access for Intellij I'm guessing.


Module desired technologies question

$
0
0

Once again I want to thank you for this great product that you are offering to us.

I have Intellij Ultimate 12 latest version and I am using the new module menu option to add a module to an existing project.

To be more precise I am creating a jsp web site that uses a java bean.

What I want to know is what technology should I add to the module at the second step of the wizard(at the first step I have chosen 'Java Module').

I know that Application Server technology is mandatory to be able to run a jsp page but what about the other options like 'Web Application' or 'Enterprise Javabeans' or 'JavaEE application'.

What do they offer to the module?

Hibernate console: ClassNotFoundException (org.springframework.beans.factory.BeanDefinitionStoreException)

$
0
0

I'm trying to run the Hibernate console on IntelliJ... I have a Hibernate facet with an associated datasource:

data_sources.png

I can connect to the datasource and run queries without issues... When I try and run some simple HQL (from CourseSectionProfile) ... I get the following exception...

 

 

IntelliJ_hibernate_console_error.png

 

 

Stack trace is:

 

 

hql> from CourseSectionProfile;

java.lang.ClassNotFoundException: org.springframework.beans.factory.BeanDefinitionStoreException PluginClassLoader[com.intellij.hibernate, 1.0] (no security manager: RMI class loader disabled)

at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:373)

at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:163)

at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620)

at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247)

at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:197)

at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1574)

at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1495)

at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1731)

at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)

at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946)

at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)

at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)

at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)

at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946)

at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)

at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)

at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)

at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946)

at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)

at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)

at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)

at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)

at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:225)

at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)

at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:178)

at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:132)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

in RemoteUtil$2$1$1.compute(RemoteUtil.java:99)

in RemoteUtil.executeWithClassLoader(RemoteUtil.java:160)

in RemoteUtil$2$1.invoke(RemoteUtil.java:96)

in HibernateEngine.ensureInitialized(HibernateEngine.java:115)

Environment info:
OS: Windows 7
IntelliJ: version 12.0.3
Library versions: see below:
library_definitions.png
Omair

Gradle subprojects as modules

$
0
0

Is there any way to have gradle subprojects automatically become modules in the parent project within intellij?         

Make IntelliJ 11 treat aui:script the same as script

$
0
0

Hey All,

 

I feel like this should be so simple, but it's eluding me!

 

I'm trying to make:

 

<aui:script use="xxx,yyy,zzz">

   function a() {

      alert('test');

   }

</aui:script>

 

highlight and self indent EXACTLY like:

 

 

<script>

   function a() {

      alert('test');

   }

</script>

 

I tried duplicating the script part in the language injections settings in 11.1 ultimate, and adding aui as a prefix but it didn't work.

 

Is there any way to do this?

 

Thanks!!

Run external command before packaging for iOS or Android?

$
0
0

So, I know you can run an external command before launching a build in a simulator, but how can I do this before packaging for iOS or Android?  There doesn't seem to be an interface for adding commands before or after the compilation process, not in the build configuration and not the "Package AIR Application..." dialogue, etc.

 

Any advice?

 

Thanks, adq.

Javascript library view external documentation disabled

$
0
0

After specifying the external documentation link which is valid, this option is not available through either the drop-down or the keymapping. Selecting the arrow in the quick documentation for the external documentation does open the link in my browser however.

 

IDEA 12.0.3

Possible to setup Android logging by application name?

$
0
0

Been using Eclipse for all my Android development and thought I'd try IntelliJ. Just have a question regarding the Logcat. With Eclipse I can create a filter by Application Name which prints all the error, info, etc that I choose to log. This is nice and simple to setup and captures all I am interested in and no other random logs. I see there is no equivalent in IntelliJ? The same is achievable, but I need to set up a filter for pretty much every class I am interested in, that could be tedious. Am I missing something? Could this be added to IntelliJ?


Navigation keys defined in Gnome Level 3

$
0
0

Hi,

  I have set up level 3 keyboard to use the Caps Lock to access the level 3 / level 4 character sets.

 

The good news: IJ does recognize/respect some of them - specifically the non-special/navigation keys that map to characters.

 

But some of the keys are navigations such as Home End Prior Next  Left Right Up Down.  All of those are ignored by IJ.

 

Is there any way to get IJ to recognize them?

 

 

thanks!

 

stephenb

IntelliJ 10 and Axis2

$
0
0

Hello,

 

Does anyone have any pointers on how to begin using the Axis2 plugin with IntelliJ 10?

 

The Axis2 plugin isn't an option in the plugin manager and the web services PDF by JetBrains appears to be outdated.

 

Any tips would be much appreciated.

 

Thanks,

 

Binh

IntelliJ 12.0.3 - Maven OOM Issue

$
0
0

Upgraded to IJ 12.0.3 this morning and found that it runs OOM during maven builds and will not complete a JBoss deploy/run.  Rolling back to 12.0.2 fixes the issues, anyone else encountering this or have some insight as to what is going on?  Tried upping memory allocation to maven, IJ and JVM in turn, spent the better part of a day on this will little success on our end.

 

For now, we've rolled back to 12.0.2 until IJ is stable with Maven again.

Inherit dependencies from parent project

$
0
0

I have two modules in tha same project.

Is there any way they can inherit a dependency from their parent project, so that I don't have to declare the dependency library twice?

IDEA portable?

$
0
0

Hi,

i hope such kind of question is not so stupid

But what about portable Idea? It would be great if you can just copy the installed Idea to a flash stick and run on another PC directly from the stick

 

Regards

Bobby

plugin to use tools like sed, grep and so on on text selections ?

$
0
0

Hi,

 

Is there a plugin to use some external tool operations like "sed" or "grep" with a text selection per shortcut ?

 

i want to use sed for transforming some parts of code with a predifined shortcut.

multiple replace operations on selected parts of java code ?

$
0
0

Hi,

 

i very often have to do some steps for this:

 

from

 

String lala = "Such a boring Question about a simple Replace-Operation";

 

to

 

public static String lala = error_such_a_boring_question_about_a_simple_replace_operation="error_such_a_boring_question_about_a_simple_replace_operation";

 

Is there a plugin to do some sed operations or so with a text selection, to be undependent and use tools like sed, grep and so on on text selections ?


Project unable to find a maven dependencies required by another dependency

$
0
0

So my project (project1) is based on maven, and the pom references another project (project2) which itself references anpther project (hibernate). My project doesnt mention hibernate in its pom, however it does use hibernate it its code. Everything works okay with INnelliJ on WIndows but on OSX it fails wherever a reference to hibernate in the code is made. I can build from the commandline using maven okay.

 

Part of me is wondering if I should add hibernate to the pom of project 1 seeing as project 1 references hibernate classes, but I dont need to do this for Windows so seems to be a Intellij problem somewhere.

 

I tried Invalidate Caches and it made no different

MGWT Intellij support

$
0
0

Does anybody know if MGWT + phonegap will be supported by Intellij or if they are looking at these new technology?

 

Cheers

No implementations found

$
0
0

I have maven project with two modules and parent pom.xml. In the first module I have interface, in the second - implementation. If I import the first module, open interface and press Ctrl+Alt+F7 - I see that "No implementations found". Why can't Idea (version 12.0.3) find implementation in the second module?

 

Please see screenshots:

 

1) Interface in the imported module.

 

interface.jpg

 

2) Implementation:

implementation.jpg

Tell IntelliJ which String is a JPA query

$
0
0

Because of a mix between ORM tools we need a layer of abstraction between our code and the JPA entitymanager.

But because of this IntelliJ does not recognize JPQL query strings.

 

In the attachment, I added the first 3 lines using the entitymanager directly. The lines below are the normal code we use. As you can see, highlighting (and also code completion) in the direct call works, while in the other line it doesn't.

 

Is there a way to tell IntelliJ how it can detect JPQL queries in strings?

Roots Switches

$
0
0

Hi,

 

IntelliJ contains a couple of predefined special changesets in the Changes window. One of those is called RootsSwitches and it displays for each module the checked out branch. Very handy.

 

Now for my question: Does anyone know under which conditions this Roots Switches changeset is shown?

For some of my projects, it is not there, and I miss it If there is some way to enable it for those projects, I'd really like to know!

 

 

thanks,

 

Guno

Viewing all 5481 articles
Browse latest View live