facebook

Problem with adding table to CRUD application

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #345413 Reply

    Hello! I am having an issue and I am wondering what I am doing wrong.

    Some details: I am using MyEclipse for Spring 2014, and am using Java 1.5.

    So here is the deal. I was told to add a couple more tables to an existing CRUD application we have at our company. There was some documentation on how to add tables to the app. I was told to right click on the project in my eclipse, then select and click MyEclipse and ‘Scaffold Spring CRUD Application.’ When I follow these steps, nothing happens. There’s no error message or anything, MyEclipse just doesn’t load up the functionality for adding tables to a CRUD application.

    Is there some option I need to turn on, or some potential functionality issues with the 2014 version and Java 1.5? I’m at a loss. I tried to search the forum, but couldn’t find any useful information. Please let me know if you need more details.

    Thank you for your help.

    #345454 Reply

    explosive_donut,

    We couldn’t replicate the issue at our end.

    Can you please answer some more queries to help us investigate further :
    1) Please share your MyEclipse installation details from MyEclipse > Installation summary > Installation details ?
    2) Can you please mention the DB name and version you are using for scaffolding ?
    3) Can you please mention on what kind of project (web/java/ejb/etc.) you are trying to scaffold ? Also, you mentioned that you are using Java 1.5, can you please be more clear on this ? Is that the project Java version is 1.5 ?
    4) Does scaffolding wizard open after selecting ‘Scaffold Spring CRUD Application’ ? or the wizard opens and you cannot select the tables in the wizard ? Can you please be more clear on what happens exactly after selecting ‘Scaffold Spring CRUD Application’ ?
    5) Clear the contents of the .log file located at <Workspace dir>/.metadata/.log file, replicate the issue and attach the log file here to help us investigate further.

    #345459 Reply

    Hi! Here is the information you requested:

    *** Date:
    Monday, December 23, 2013 8:22:01 AM EST

    *** System properties:
    OS=Windows7
    OS version=6.1.0
    OS arch=x86
    Profile arch=x86
    Window system=win32
    Java version=1.7.0_45
    Workspace=file:/C:/Projects/
    VM Args=-Xmx768m
    -XX:MaxPermSize=320m
    -XX:ReservedCodeCacheSize=64m
    -Dosgi.nls.warnings=ignore
    -Djava.class.path=C:\Users\djasmin\AppData\Local\MYECLI~2\plugins/OR8508~1.JAR

    *** Subscription information
    Product Id: E3MS (MyEclipse for Spring Subscription)
    License version: 3.0
    Full Maintenance Included
    Subscription expiration date (YYYYMMDD): 20140917
    Number of users: 16

    *** Eclipse details:
    MyEclipse for Spring

    Version: 2014

    Build ID: 12.0.0-20131202

    Blueprint: N/A

    com.genuitec.eclipse.mobile.feature – 12.0.0.201311260528
    com.genuitec.myeclipse.database – 12.0.0.me201311281640
    com.genuitec.myeclipse.desktop – 12.0.0.me201311281640
    com.genuitec.myeclipse.enterprise.workbench – 12.0.0.me201311281640
    com.genuitec.myeclipse.geronimo – 12.0.0.me201311281640
    com.genuitec.myeclipse.glassfish – 12.0.0.me201311281640
    com.genuitec.myeclipse.icefaces.feature – 12.0.0.me201311281640
    com.genuitec.myeclipse.imageeditor – 12.0.0.me201311281640
    com.genuitec.myeclipse.jboss – 12.0.0.me201311281640
    com.genuitec.myeclipse.jetty – 12.0.0.me201311281640
    com.genuitec.myeclipse.jonas – 12.0.0.me201311281640
    com.genuitec.myeclipse.jrun – 12.0.0.me201311281640
    com.genuitec.myeclipse.jsf – 12.0.0.me201311281640
    com.genuitec.myeclipse.maven – 12.0.0.me201311281640
    com.genuitec.myeclipse.oracle – 12.0.0.me201311281640
    com.genuitec.myeclipse.orion – 12.0.0.me201311281640
    com.genuitec.myeclipse.persistence – 12.0.0.me201311281640
    com.genuitec.myeclipse.reports – 12.0.0.me201311281640
    com.genuitec.myeclipse.resin – 12.0.0.me201311281640
    com.genuitec.myeclipse.struts – 12.0.0.me201311281640
    com.genuitec.myeclipse.sun – 12.0.0.me201311281640
    com.genuitec.myeclipse.tomcat – 12.0.0.me201311281640
    com.genuitec.myeclipse.uml2 – 12.0.0.me201311281640
    com.genuitec.myeclipse.visualvm – 12.0.0.me201311281640
    com.genuitec.myeclipse.visualvm.server – 12.0.0.me201311281640
    com.genuitec.myeclipse.weblogic – 12.0.0.me201311281640
    com.genuitec.myeclipse.websphere – 12.0.0.me201311281640
    com.genuitec.myeclipse.ws – 12.0.0.me201311281640
    com.skyway.myeclipseforspring.feature – 12.0.0.201311281600
    org.eclipse.birt – 4.3.1.me201311281640
    org.eclipse.datatools.connectivity.feature – 1.11.1.me201311281640
    org.eclipse.datatools.enablement.feature – 1.11.1.me201311281640
    org.eclipse.datatools.modelbase.feature – 1.11.1.v201306041610-7707GCcNBHLDaKTEcRi
    org.eclipse.datatools.sqldevtools.feature – 1.11.1.me201311281640
    org.eclipse.emf – 2.9.1.v20130902-0605
    org.eclipse.gef – 3.9.1.201308190730
    org.eclipse.graphiti.feature – 0.10.1.v20130918-0838
    org.eclipse.jpt.jpa.feature – 3.3.1.me201311281640
    org.eclipse.jpt.jpadiagrameditor.feature – 1.2.0.me201311281640
    org.eclipse.jst.common.fproj.enablement.jdt – 3.4.0.me201311281640
    org.eclipse.jst.enterprise_ui.feature – 3.5.0.me201311281640
    org.eclipse.jst.server_adapters.ext.feature – 3.3.103.me201311281640
    org.eclipse.jst.server_adapters.feature – 3.2.201.me201311281640
    org.eclipse.jst.server_ui.feature – 3.4.1.me201311281640
    org.eclipse.jst.ws.axis2tools.feature – 1.1.200.me201311281640
    org.eclipse.m2e.feature – 1.4.0.me201311281640
    org.eclipse.sapphire.platform – 0.6.6.201310081535
    org.eclipse.wst.common.fproj – 3.4.0.me201311281640
    org.eclipse.wst.server_adapters.feature – 3.2.300.me201311281640
    org.eclipse.xsd – 2.9.1.v20130902-0605
    org.springframework.ide.eclipse.feature – 3.3.0.me201311281640

    fr.obeo.acceleo.bridge.feature – 2.6.0.me201311281640
    org.eclipse.cvs – 1.4.0.v20130911-1000
    org.eclipse.draw2d – 3.9.1.201308190730
    org.eclipse.e4.rcp – 1.2.1.v20130910-2014
    org.eclipse.egit – 3.1.0.201310021548-r
    org.eclipse.epp.mpc – 1.2.1.I20130917-2019
    org.eclipse.equinox.p2.core.feature – 1.2.1.v20130827-1605
    org.eclipse.equinox.p2.discovery.feature – 1.0.100.v20130502-0334
    org.eclipse.equinox.p2.extras.feature – 1.2.0.v20130827-1605
    org.eclipse.equinox.p2.rcp.feature – 1.2.0.v20130828-0031
    org.eclipse.equinox.p2.user.ui – 2.2.0.v20130828-0031
    org.eclipse.help – 2.0.1.v20130911-1000
    org.eclipse.jdt – 3.9.1.v20130911-1000
    org.eclipse.jet – 1.1.1.v201101271243-5319sC7HCAGERASDK3924
    org.eclipse.jet.uml2 – 1.1.0.v201006011447-2-07w311A1A152813
    org.eclipse.jgit – 3.1.0.201310021548-r
    org.eclipse.jsf.feature – 3.7.0.me201311281640
    org.eclipse.mylyn.bugzilla_feature – 3.9.1.v20130917-0100
    org.eclipse.mylyn.commons – 3.9.1.v20130917-0100
    org.eclipse.mylyn.commons.identity – 1.1.1.v20130917-0100
    org.eclipse.mylyn.commons.notifications – 1.1.1.v20130917-0100
    org.eclipse.mylyn.commons.repositories – 1.1.1.v20130917-0100
    org.eclipse.mylyn.context_feature – 3.9.1.v20130917-0100
    org.eclipse.mylyn.cvs – 1.1.1.v20130917-0100
    org.eclipse.mylyn.discovery – 3.9.1.v20130917-0100
    org.eclipse.mylyn.git – 1.1.1.v20130917-0100
    org.eclipse.mylyn.ide_feature – 3.9.1.v20130917-0100
    org.eclipse.mylyn.java_feature – 3.9.1.v20130917-0100
    org.eclipse.mylyn.monitor – 3.9.1.v20130917-0100
    org.eclipse.mylyn.tasks.ide – 3.9.1.v20130917-0100
    org.eclipse.mylyn.team_feature – 3.9.1.v20130917-0100
    org.eclipse.mylyn.versions – 1.1.1.v20130917-0100
    org.eclipse.mylyn_feature – 3.9.1.v20130917-0100
    org.eclipse.ocl – 3.1.0.v20110606-1427
    org.eclipse.pde – 3.9.1.v20130911-1000
    org.eclipse.platform – 4.3.1.v20130911-1000
    org.eclipse.rcp – 4.3.1.v20130911-1000
    org.eclipse.wb.core.feature – 1.6.1.r43x201309092314
    org.eclipse.wb.core.java.feature – 1.6.1.r43x201309092318
    org.eclipse.wb.core.ui.feature – 1.6.1.r43x201309092325
    org.eclipse.wb.core.xml.feature – 1.6.1.r43x201309092330
    org.eclipse.wb.doc.user.feature – 1.6.1.r43x201309092334
    org.eclipse.wb.layout.group.feature – 1.6.1.r43x201309092345
    org.eclipse.wb.rcp.SWT_AWT_support – 1.6.1.r43x201309100026
    org.eclipse.wb.rcp.doc.user.feature – 1.6.1.r43x201309100019
    org.eclipse.wb.rcp.feature – 1.6.1.r43x201309100008
    org.eclipse.wb.swing.doc.user.feature – 1.6.1.r43x201309100012
    org.eclipse.wb.swing.feature – 1.6.1.r43x201309100023
    org.eclipse.wb.swt.feature – 1.6.1.r43x201309092350
    org.eclipse.wb.xwt.feature – 1.6.1.r43x201309100031
    org.sonatype.m2e.mavenarchiver.feature – 0.15.0.201207090125-signed-20130612210623\com.sun.java.jdk7.win32.x86_1.7.0.u45\jre\bin\client\jvm.dll

    2. The database we are using is an Oracle DB, I believe the database is Oracle 10.

    3. It is a web project. The project is using Java 1.5, correct.

    4. The wizard does not open at all. I click ‘Scaffold Spring CRUD Application,’ and the wizard doesn’t load. Nothing happens.

    5. The log file is empty.

    #345478 Reply

    explosive_donut,

    Thanks for the details provided. We couldn’t replicate the issue at our end on MyEclipse for Spring 2014.

    1) Did you create the project in MyEclipse 2014 or did you import the project from anywhere else ? If you have imported the project from previous MyEclipse version, please mention the MyEclipse version, so that we could try to replicate the issue in that way.

    2) Can you please create a new project in the same workspace and check if ‘Scaffold Spring CRUD Application’ wizard opens for the new project ?

    3) Can you please switch to a new workspace, create a new project and check if ‘Scaffold Spring CRUD Application’ wizard opens for the new project ? If the wizard opens in the new workspace, can you please import your existing project into your new workspace and check if the ‘Scaffold Spring CRUD Application’ wizard opens for that project?

    4) If possible, can you please attach a sample project which exhibits this issue to help us investigate further ? Else, can you please strip the project of its source code and send us all the .* files (.class,.settings etc) of the project to help us investigate further ?

    #345486 Reply

    1. The project was not created in MyEclipse 2014. I don’t know the version it was created in, but the project was first made in 2006, so I would guess MyEclipse 2007?

    2. The wizard opens this way.

    3. The wizard opens this way.

    4. Attached is .settings, and .metadata, zipped up. Please let me know if you have any questions.

    Attachments:
    You must be logged in to view attached files.
    #345505 Reply

    explosive_donut,

    2) Can you please create a new project in the same workspace and check if ‘Scaffold Spring CRUD Application’ wizard opens for the new project ?

    3) Can you please switch to a new workspace, create a new project and check if ‘Scaffold Spring CRUD Application’ wizard opens for the new project ? If the wizard opens in the new workspace, can you please import your existing project into your new workspace and check if the ‘Scaffold Spring CRUD Application’ wizard opens for that project?

    > The screenshots of the wizard seems to have not attached properly in your earlier response. Can you please clarify what happened after performing the two tests quoted above ?

    > The .settings and .metadata files doesn’t help us much. Can you please attach the .classpath and .project files of your project to help us investigate further ?

    #345507 Reply

    I have attached screenshots. With both of these tests, I was able to launch the wizard successfully. I didn’t try to do anything after the wizard launched, but I was able to launch the wizard.

    Zipped up are the .classpath and .project files.

    Thank you.

    Attachments:
    You must be logged in to view attached files.
    #345508 Reply

    Ah ha! I figured it out. I imported the project incorrectly. I removed the project from the workspace, and imported it correctly.

    Thank you!

    #345530 Reply

    explosive_donut,

    Glad that you got it working.
    Do let us know if you see any issues in MyEclipse.

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: Problem with adding table to CRUD application

You must be logged in to post in the forum log in