org.apache.wicket.markup.html.WebPage option not appearing when i try to extend WebPage - eclipse

I am trying to create a "Hello World" Wicket Application.
When I try to create a HelloWorldPage.java file, I do not get 'org.apache.wicket.markup.html.WebPage' option for"SuperClass" option.
How do i fix this?
I am using Eclipse Luna IDE and have Apache Tomcat 8.0.14

here you find projects for the Wicket user guide, including an HelloWorldExample:
https://github.com/bitstorm/Wicket-tutorial-examples
To import Maven-based projects in eclipse you can use Maven integration plugin:
http://marketplace.eclipse.org/content/maven-integration-eclipse-luna#.VF__o4WFvFY
Once you have installed this plugin you will find "Import Maven project" in the import menu.

Related

how can I create maven Gwt project?

Hello friends I have not so much Idea about maven build tool. I just download and install it in my system as I read maven is a build tool and work perfectly with transitive dependency. this is the basic reason to use it
I also configure mavan plugin in Eclipse.
so what is the proper Gwt maven archetype in eclipse and I read so many command in tutorials like maven:gwt run but I dont to where is this command exist in eclipse
I am very new in maven so please help me like a beginner
This is a common approach to get support of maven in existing GWT-Project
Make a gwt project by using the gwt plugin in Eclipse. Now you have
an Eclipse gwt project.
Select the project in Project Explorer , right-click it, then choose
Configure . Then select Convert to Maven Project . Now you get a
gwt-maven project.
Now add necessary dependencies to pom.xml .
if you want to create a gwt maven project directly you need to choose gwt archetype if not exist you can add this have a look in
this video
You should:
Download the gwt plugin in Eclipse and create a gwt project.
In Eclipse select the project, right-click on it, then choose Configure. Then select Convert to Maven Project.
Now you get a gwt-maven project.

Importing Projects into Eclipse + Python

How to import an Python project not created through Eclipse into Eclipse.
Using Eclipse Luna
-Shiva S
Follow these following steps...
First add pydev interpreter in eclipse Follow this link
Configure the pydev interpreter
windows->preferences->Pydev->Interpreter-Python
Then import the project File->import->General->Existing project into
workspace
The basic solution is creating a new project (just set the location of the new project to the existing sources).
The FAQ covers that: http://pydev.org/faq.html#PyDevFAQ-HowdoIimportexistingprojects%2FsourcesintoPyDev%3F if you have something more complex you want to do.

Running the ZK essentials maven project from eclipse

I usually can run zk apps on the server but the essentials app is a maven project and I cant see that option in zk studio (in eclipse).
How do I run it in eclipse?
Install the m2e plugin from the marketplace. It will give you additional options in the Run menu like "Maven install".
Note that Maven is a build tool, not a run tool. Maven only manages the classpath for you. You can then use the normal "Run as ..." of Eclipse to start it.
EDIT When you have m2e, make sure you import the project using "Import Maven project". M2e will then configure all the aspects, facets and natures.
If you already have the project imported, try "Update Project..."
If that doesn't work, try to enable the "Web Project Facet". See this blog post for details: http://www.mkyong.com/java/how-to-convert-java-project-to-web-project-in-eclipse/
I have installed m2e plugin on Eclipse Juno without any problem.
Have you tried install m2e plugin before install other plugins? it
will give you maven install option .
first of all, goto help menu then eclipse marketplace search
m2e plugin in eclipse juno/ kepler version and install the m2e plugin

Importing an existing maven Project into Eclipse

I have an existing Maven Project with me .
I am using Eclipse Helios as my IDE , i need to import an existing maven Project into my IDE .
Please tell me what is the correct approach to import an exisiting maven Application ??
(Should we choose Import Existing maven Project option or
Should we choose import Exisiting Projects into Workspace option ??
Please let me know , thank you very much .
Use Import->Maven->Existing Maven Projects
I'm assuming, you've m2eclipse plugin installed in your Eclipse.
Use mvn plugin "eclipse:eclipse" for setting up the parameters for eclipse
http://maven.apache.org/plugins/maven-eclipse-plugin/
http://maven.apache.org/plugins/maven-eclipse-plugin/myeclipse-mojo.html
After which you can choose, "create from existing source" under "create new project"
Include the m2e plugin into eclipse
Windows >> Install new software
enter this site to download the m2e plugin
http://download.eclipse.org/technology/m2e/releases

GWT designer doesn't work with Maven-GWT project

I just started a GWT project with environment:
Eclipse Helios
google plugin for Eclipse 3.6
maven2 plugin for eclipse
Gwt designer for eclipse 3.6
The project is created by gwt-maven-plugin. The project can run in dev mode. But GWT Designer doesn't work for client GUI class. I removed Maven dependencies for GWT and directly import Eclipse GWT SDK, GWT Designer starts working for client GUI class. But it still doesn't work for UiBuilder template file.
The error message is :
UIBinder template should be in client package.
You are attempting to use UiBinder for /hsp-web/src/main/java/com/hs/hspweb/client/ui/UserListViewImpl.ui.xml, however it is not in GWT client package.
Go to "Java build path" in project properties, click on
"YourProjectName/src/main/resources" -> "Excluded: **"
entry and press "Remove" button. It should change to "Excluded: (None)"
Then, you will be able to open GWT designer.
I found the solution here.
http://mojo.codehaus.org/gwt-maven-plugin/eclipse/google_plugin.html
A restriction of this plugin is that it will search for gwt modules and host pages only in the first classpath source folder. Using a Maven / Eclipse integration like m2eclipse, this one will be your sourceDirectory (src/main/java). You'll have to move your gwt.xml files in this folder, instead of the standard Maven resource directory. See Google Eclipse Plugin issue #1597.