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

dependencies priority not working like Tomcat classloader

hello, I have a webapp which uses a jar, containingclass B extends AI also have .class files which contain class A again, in a different version. Now the Tomcat class loader really works in such a way...

View Article


Multi Artifact main class problem

Dear Friends,I am trying to create multi artifact in my project.Every artifacts have own and diffeent "Main class".I created multi artifacts, but the problem is that all aritifacts assigned to single...

View Article


spring mvc tests do not run from IDEA

Hello, recently I have just checked new spring module called: spring-test (from Spring 3.2 - yes I know IDEA 12 has support for 3.1).I created simple tests but I could not run theme from IDEA (ctrl +...

View Article

Image may be NSFW.
Clik here to view.

Why does exist this validation: "Web resource directory should be locate...

Hi, I'm wondering why if I have a project structure like this one: - parent-module---- out/classes---- child-module And then I configure a Web Facet in the "child-module" I'm unable to add...

View Article

IntelliJ IDEA shortcuts/workflow for populate fields from one object to another

There area lot of classes in my codebase that have an object passed into its constructor to populate its fields from that object's fields like the following:public class PersonDataHolder {    private...

View Article


Can Intellij IDEA cut/copy/paste one line just like VisualStudio or sublime...

In VisualStudio or sublime text, you can paste one whole line(iucluding return character) at  wherever the cursor is. How can I do the same in Intellij IDEA?

View Article

Image may be NSFW.
Clik here to view.

IntelliJ false syntax errors on AspectJ methods in Spring Roo project

I have generated an application using Spring Roo.  It is using MongoDB repositories.  References to the methods in the Roo-generated repositories decendents are being highlighted in IntelliJ as errors...

View Article

Adding JBoss 6 as application server

We are starting a new project on JBoss 6, and I have a problem adding it as an application server.IDEA constantly warns me the the selected directory is not a valid JBoss home, though I have just...

View Article


Confused by Folder Colors and Associated Actions

I created a Maven project, and the src folder is orange and I can't create a package beneath it -- even if I remove the folders underneath. Another developer who created a similar project has a package...

View Article


Run external command before packaging for iOS or Android?

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

View Article

Artifact output directory keeps changing

Hey all! I always deploy my application to <tomcat base>/webapps directory. But, for some reason after a clean and clean install my project the output direcotyr will change. For example, when I...

View Article

grails service class not recognized

Hi all, I have a grails application, everything runs fine.  I just went to create my first service class and Intellij doesn't recognize it when I create an instance of it.  It works, created a test...

View Article

How to ignore (make invisible) a file in project view?

Hi, Using Idea CE 12.04, Linux version. I have a LibreOffice document MyDoc.odt in the root of my project. When I double click on it, the MyDoc.odt file is opened by LibreOffice Writer. This also...

View Article


Image may be NSFW.
Clik here to view.

Can I run a maven lifecycle for a module as a before launch step in 12.0.4?

I have a module: webapp that relies on a module: component. For some reason when I try to run webapp in tomcat the component is not introduced into the webapp. If I manually "mvn install" the component...

View Article

Lib directory and dependencies

I've just created a Hibernate Java Project and I see that IntelliJ Idea creates a lib directory with some usefull jars inside and a src directory to write your code.When I tried to connect to my local...

View Article


Ctrl-Fx key shortcuts: how does it work?

Hi, Using IJ Idea 12.04 CE on Xubuntu 12.10 x64. The keybinding of the OS is the default English US. I tried the Ctrl-F11 shortcut which means "Navigate | Bookmarks | Toggle Bookmark With Mnemonic"....

View Article

Deprecated method used in IntelliJ Idea hibernate project's main auto-creation

When you let IntelliJ Idea create for you the main method, it uses the deprectated method  buildSessionFactory().Here is a proper main method : import org.hibernate.HibernateException;import...

View Article


Debugger Glassfish

I'm not able to debug my application.I put the breakpoints on lines but nothing happens.In the debug logs appears that the startup was successful and that debugging is enabled on port 9009.I activated...

View Article

(The Most) Basic XSD Conversion from XML Fails To Validate in 12.0.4

I used a very, very simple XML file to try to create an XSD (XML Schema) from within IDEA 12.0.4 - using the IDEA conversion available. The Schema that IDEA created, when then referenced back in the...

View Article

Jna version in 12.1

What version of jna.jar is included with IntelliJ 12.1? I'd like to build the matching native component for OpenBSD. Thanks.

View Article
Browsing all 5481 articles
Browse latest View live