I've got a problem.
When i'm trying to run my runner with tests, i've got error that "No features found". I'm trying to use "feature" parameter and without it. But still always got that error. Please someone helpt me. See screenshots with "features" without "features"
I've found the solution. You need to give your feature files extension ".feature". And better rename your "Runner" to "RunnerTest". It's helped me. Good luck everyone!
Related
I'm trying to do exactly the same thing as described in this stackoverflow question:
Simplest way to read JSON from a URL in Java
For the top response, I understand the code, however, they say "Using the Maven artifact org.json:json I got the following code". Now, I'm completely new to Maven and I have no idea how it works, although I do have it installed.
I've tried searching the internet on how to use this Maven artifact in my code but I can't find anything and I am completely lost.
If someone could point me in the right direction or help me out with this that would be greatly appreciated!
sorry to bother you all but I have a simple issue which is obsessing me, I'm trying to use MediaTypeUtils.getMediaTypeForFileName but I can't manage to find any dependency, I only get "cannot be resolved" for a project trying to get a .zip file on a external API. I don't think the rest of the code matters a lot since it's definitely not working yet.
Please give me any tip or advice as I'm quite the beginner. Thanks a lot.
Okay I found out that it was just an import from another java file that I didn't notice on the project, that's why I couldn't find any dependancy. I had trouble with it because it was some random tutorial on the web and it wasn't much documented.
Sorry about that.
Is there an automatic way to generate the hibernate.reveng.xml file in Intellij IDEA?
I couldn't find any way of doing this, in this link I saw how to generate it outside of Intellij.
I guess I am not the first one to encounter this problem, but i didn't saw any answers on this subject, if there is a plugin to Intellij that make it, or a simple way to generate it inside Intellij it would help alot.
Also, if it isn't currently available, knowing this will also help.
Thanks ahead
edit:
Found this ticket, but I didn't understand how to do it...
There is no action to generate Hibernate reveng.xml file in IntelliJ IDEA. Feel free to create such request.
I am encountering a problem in which upon selecting an xhtml file from my project and selecting run on server (apache tomcat) I get the following error 'The file "http://localhost:8080/projectname/faces/index.xhtml" could not be found.
I tried following an example, to make sure I was doing things correctly (setup, creating files correctly), example site:
http://help.eclipse.org/kepler/index.jsp?topic=%2Forg.eclipse.jst.jsf.doc.user%2Fhtml%2Fgettingstarted%2Ftutorial%2FJSFTools_tutorial_JSF20.html
However it returns similar error only with instead of index as above it is login.
Hope this is enough information, I can supply more info such configuration details as well as images if they are needed. I hope someone has had this exact same problem!
Thanks!
I was able to fix this problem by deleting my eclipse files, and other associated files. Then re-installing them. This fixed the error. I am sure there is a better way of doing this (I hope so anyway) but this will work.
This one has been bugging me for a while now.
Is there a way I can stop Intellj IDEA from reporting missing keys in tags?
My messages are not stored in property files so the issue does not apply in my case.
I'm using IntelliJ IDEA 7.0.4
I reported this as an issue to JetBrains and according to their issue report this is fixed in "Diana 8858". AFICT that means this will be fixed in IDEA 8.0.
IMHO you can disable every hint or error marker in IDEA. Please tell us the version of IDEA that you use.