facebook

Multiple problems

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #263687 Reply

    Hi

    I am a new MyEclipse user, so apologies if I’m being stupid.

    I’ve got a lot of problems with MyEclipse:

    1) Right click has stopped working. I know this is caused by some sort of conflict with WST, and I need to uninstall MyEclipse, remove the WST stuff, and reinstall MyEclipse. I haven’t done this yet. I’m only mentioning this, because I wonder if it has a knock-on effect on my other problems…

    2) I’ve created MyEclipse J2EE project with Web capabilities. I can edit HTML files OK, and preview them e.g. with “IE preview”. However, JSP files do not get interpreted properly. <%= new java.util.Date() %> gets shown as { new java.util.Date() } on the “IE preview”. Static includes (i.e. with <%@include %>) work OK, but if I use any sort of dynamic include (e.g. with jsp:include or c:import), these are not actually shown in the preview.

    3) I have added the JSTL libraries to my project OK, and code completion works fine e.g. with the core JSTL. However, the editor does not catch errors in my JSTL syntax.

    4) Following on from 2) and 3) above, the “IE preview” does not interpret the EL stuff; rather it leaves it as e.g. <c:out value = ‘${holiday.holidayName}’></c:out>

    My configuration details are given below.

    Thanks in advance for your help,

    Jonny

    ——

    *** Date: Wed Dec 20 17:57:35 GMT 2006

    *** Platform Details:

    *** System properties:
    GRE_HOME=C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\plugins\com.genuitec.javascript.debug.mozilla_5.1.0\XPCOM\os\win32\mozilla
    awt.toolkit=sun.awt.windows.WToolkit
    eclipse.buildId=M20060921-0945
    eclipse.commands=-os
    win32
    -ws
    win32
    -arch
    x86
    -launcher
    C:\eclipse3_2_1\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    884_54
    -product
    com.genuitec.myeclipse.product.ide
    -vm
    C:\WINNT\system32\javaw.exe
    eclipse.ee.install.verify=false
    eclipse.product=org.eclipse.sdk.ide
    eclipse.startTime=1166548606781
    eclipse.vm=C:\WINNT\system32\javaw.exe
    eclipse.vmargs=-Duser.language=en
    -Xms128M
    -Xmx512M
    -XX:PermSize=64M
    -XX:MaxPermSize=128M
    -Dosgi.splashLocation=C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\MyEclipseSplash.bmp
    -jar
    C:\eclipse3_2_1\startup.jar
    eof=eof
    file.encoding=Cp1252
    file.encoding.pkg=sun.io
    file.separator=\
    java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
    java.awt.printerjob=sun.awt.windows.WPrinterJob
    java.class.path=C:\eclipse3_2_1\startup.jar
    java.class.version=49.0
    java.endorsed.dirs=C:\Program Files\Java\jre1.5.0_09\lib\endorsed
    java.ext.dirs=C:\Program Files\Java\jre1.5.0_09\lib\ext
    java.home=C:\Program Files\Java\jre1.5.0_09
    java.io.tmpdir=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\
    java.library.path=C:\WINNT\system32;.;C:\WINNT\system32;C:\WINNT;C:\Perl\bin\;C:\j2sdk1.4.2_02\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\cvsnt;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\php;c:\php
    java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
    java.runtime.version=1.5.0_09-b03
    java.specification.name=Java Platform API Specification
    java.specification.vendor=Sun Microsystems Inc.
    java.specification.version=1.5
    java.vendor=Sun Microsystems Inc.
    java.vendor.url=http://java.sun.com/
    java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
    java.version=1.5.0_09
    java.vm.info=mixed mode
    java.vm.name=Java HotSpot(TM) Client VM
    java.vm.specification.name=Java Virtual Machine Specification
    java.vm.specification.vendor=Sun Microsystems Inc.
    java.vm.specification.version=1.0
    java.vm.vendor=Sun Microsystems Inc.
    java.vm.version=1.5.0_09-b03
    line.separator=

    org.osgi.framework.bootdelegation=*
    org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1,JRE-1.1,J2SE-1.2,J2SE-1.3,J2SE-1.4,J2SE-1.5
    org.osgi.framework.language=en
    org.osgi.framework.os.name=Windows2000
    org.osgi.framework.os.version=5.0
    org.osgi.framework.processor=x86
    org.osgi.framework.system.packages=javax.accessibility,javax.activity,javax.crypto,javax.crypto.interfaces,javax.crypto.spec,javax.imageio,javax.imageio.event,javax.imageio.metadata,javax.imageio.plugins.bmp,javax.imageio.plugins.jpeg,javax.imageio.spi,javax.imageio.stream,javax.management,javax.management.loading,javax.management.modelmbean,javax.management.monitor,javax.management.openmbean,javax.management.relation,javax.management.remote,javax.management.remote.rmi,javax.management.timer,javax.naming,javax.naming.directory,javax.naming.event,javax.naming.ldap,javax.naming.spi,javax.net,javax.net.ssl,javax.print,javax.print.attribute,javax.print.attribute.standard,javax.print.event,javax.rmi,javax.rmi.CORBA,javax.rmi.ssl,javax.security.auth,javax.security.auth.callback,javax.security.auth.kerberos,javax.security.auth.login,javax.security.auth.spi,javax.security.auth.x500,javax.security.cert,javax.security.sasl,javax.sound.midi,javax.sound.midi.spi,javax.sound.sampled,javax.sound.sampled.spi,javax.sql,javax.sql.rowset,javax.sql.rowset.serial,javax.sql.rowset.spi,javax.swing,javax.swing.border,javax.swing.colorchooser,javax.swing.event,javax.swing.filechooser,javax.swing.plaf,javax.swing.plaf.basic,javax.swing.plaf.metal,javax.swing.plaf.multi,javax.swing.plaf.synth,javax.swing.table,javax.swing.text,javax.swing.text.html,javax.swing.text.html.parser,javax.swing.text.rtf,javax.swing.tree,javax.swing.undo,javax.transaction,javax.transaction.xa,javax.xml,javax.xml.datatype,javax.xml.namespace,javax.xml.parsers,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.sax,javax.xml.transform.stream,javax.xml.validation,javax.xml.xpath,org.ietf.jgss,org.omg.CORBA,org.omg.CORBA_2_3,org.omg.CORBA_2_3.portable,org.omg.CORBA.DynAnyPackage,org.omg.CORBA.ORBPackage,org.omg.CORBA.portable,org.omg.CORBA.TypeCodePackage,org.omg.CosNaming,org.omg.CosNaming.NamingContextExtPackage,org.omg.CosNaming.NamingContextPackage,org.omg.Dynamic,org.omg.DynamicAny,org.omg.DynamicAny.DynAnyFactoryPackage,org.omg.DynamicAny.DynAnyPackage,org.omg.IOP,org.omg.IOP.CodecFactoryPackage,org.omg.IOP.CodecPackage,org.omg.Messaging,org.omg.PortableInterceptor,org.omg.PortableInterceptor.ORBInitInfoPackage,org.omg.PortableServer,org.omg.PortableServer.CurrentPackage,org.omg.PortableServer.POAManagerPackage,org.omg.PortableServer.POAPackage,org.omg.PortableServer.portable,org.omg.PortableServer.ServantLocatorPackage,org.omg.SendingContext,org.omg.stub.java.rmi,org.w3c.dom,org.w3c.dom.bootstrap,org.w3c.dom.events,org.w3c.dom.ls,org.xml.sax,org.xml.sax.ext,org.xml.sax.helpers
    org.osgi.framework.vendor=Eclipse
    org.osgi.framework.version=1.3.0
    org.osgi.supports.framework.extension=true
    os.arch=x86
    os.name=Windows 2000
    os.version=5.0
    osgi.arch=x86
    osgi.bundles=org.eclipse.equinox.common@2:start, org.eclipse.update.configurator@3:start, org.eclipse.core.runtime@start
    osgi.bundlestore=C:\eclipse3_2_1\configuration\org.eclipse.osgi\bundles
    osgi.configuration.area=file:/C:/eclipse3_2_1/configuration/
    osgi.framework=file:/c:/eclipse3_2_1/plugins/org.eclipse.osgi_3.2.1.R32x_v20060919.jar
    osgi.framework.beginningstartlevel=1
    osgi.framework.shape=jar
    osgi.framework.version=3.2.1.R32x_v20060919
    osgi.install.area=file:/C:/eclipse3_2_1/
    osgi.instance.area=file:/C:/eclipse3_2_1/workspace/
    osgi.instance.area.default=file:/C:/Documents and Settings/Administrator/workspace/
    osgi.logfile=C:\eclipse3_2_1\workspace\.metadata\.log
    osgi.manifest.cache=C:\eclipse3_2_1\configuration\org.eclipse.osgi\manifests
    osgi.nl=en_GB
    osgi.os=win32
    osgi.splashLocation=C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\MyEclipseSplash.bmp
    osgi.splashPath=platform:/base/plugins/org.eclipse.platform
    osgi.syspath=c:\eclipse3_2_1\plugins
    osgi.ws=win32
    path.separator=;
    sun.arch.data.model=32
    sun.boot.class.path=C:\Program Files\Java\jre1.5.0_09\lib\rt.jar;C:\Program Files\Java\jre1.5.0_09\lib\i18n.jar;C:\Program Files\Java\jre1.5.0_09\lib\sunrsasign.jar;C:\Program Files\Java\jre1.5.0_09\lib\jsse.jar;C:\Program Files\Java\jre1.5.0_09\lib\jce.jar;C:\Program Files\Java\jre1.5.0_09\lib\charsets.jar;C:\Program Files\Java\jre1.5.0_09\classes
    sun.boot.library.path=C:\Program Files\Java\jre1.5.0_09\bin
    sun.cpu.endian=little
    sun.cpu.isalist=
    sun.desktop=windows
    sun.io.unicode.encoding=UnicodeLittle
    sun.jnu.encoding=Cp1252
    sun.management.compiler=HotSpot Client Compiler
    sun.os.patch.level=Service Pack 4
    user.country=GB
    user.dir=C:\eclipse3_2_1
    user.home=C:\Documents and Settings\Administrator
    user.language=en
    user.name=Administrator
    user.timezone=Europe/London
    user.variant=

    *** Features:
    com.genuitec.myeclipse.ast (5.1.0) “MyEclipse Application Server Tooling”
    com.genuitec.myeclipse.bugzilla (5.1.0) “MyEclipse Bugzilla Feature”
    com.genuitec.myeclipse.core (5.1.0) “MyEclipse Core Feature”
    com.genuitec.myeclipse.database (5.1.0) “MyEclipse Database Feature”
    com.genuitec.myeclipse.enterprise.workbench (5.1.0) “MyEclipse Enterprise Workbench Feature”
    com.genuitec.myeclipse.help (5.1.0) “MyEclipse Help Feature”
    com.genuitec.myeclipse.hibernate (5.1.0) “MyEclipse Hibernate Feature”
    com.genuitec.myeclipse.jsf (5.1.0) “MyEclipse JSF Feature”
    com.genuitec.myeclipse.jspdesign (5.1.0) “MyEclipse JSP Design Feature”
    com.genuitec.myeclipse.platform (5.1.0) “MyEclipse Base Platform Feature”
    com.genuitec.myeclipse.spring (5.1.0) “MyEclipse Spring Feature”
    com.genuitec.myeclipse.struts (5.1.0) “MyEclipse Struts Feature”
    com.genuitec.myeclipse.tapestry (5.1.0) “MyEclipse Tapestry / Spindle Feature”
    com.genuitec.myeclipse.uml (5.1.0) “MyEclipse UML Feature”
    com.genuitec.myeclipse.wdt (5.1.0) “MyEclipse Web Development Feature”
    com.genuitec.myeclipse.ws.xfire (5.1.0) “MyEclipse Web Services Feature”
    org.eclipse.emf (2.2.1.v200609210005) “Eclipse Modeling Framework (EMF)”
    org.eclipse.emf (2.2.1.v200609210005) “Eclipse Modeling Framework (EMF)”
    org.eclipse.emf.doc (2.2.1.v200609210005) “Eclipse Modeling Framework (EMF) Programmers Guide”
    org.eclipse.emf.ecore.sdo (2.2.0.v200609210005) “EMF Service Data Objects (SDO)”
    org.eclipse.emf.ecore.sdo (2.2.0.v200609210005) “EMF Service Data Objects (SDO)”
    org.eclipse.emf.ecore.sdo.doc (2.2.1.v200609210005) “EMF Service Data Objects (SDO) Programmers Guide”
    org.eclipse.emf.ecore.sdo.source (2.2.0.v200609210005) “EMF Service Data Objects (SDO) Source”
    org.eclipse.emf.source (2.2.1.v200609210005) “Eclipse Modeling Framework (EMF) Source”
    org.eclipse.gef (3.2.1.v20060921) “Graphical Editing Framework”
    org.eclipse.gef (3.2.1.v20060921) “Graphical Editing Framework”
    org.eclipse.gef.sdk (3.2.1.v20060921) “Graphical Editing Framework Developer Resources”
    org.eclipse.gef.source (3.2.1.v20060921) “Graphical Editing Framework Developer Resources”
    org.eclipse.jdt (3.2.1.r321_v20060905-R4CM1Znkvre9wC-) “Eclipse Java Development Tools”
    org.eclipse.jdt.source (3.2.1.r321_v20060905-R4CM1Znkvre9wC-) “Eclipse Java Development Tools SDK”
    org.eclipse.jem (1.2.1.v20060815_M—-6zXJJzKIRGVU) “Java EMF Model”
    org.eclipse.jem (1.2.1.v20060815_M—-6zXJJzKIRGVU) “Java EMF Model”
    org.eclipse.jem.sdk (1.2.1.v20060825_M-G95ETloaW2QZOdc) “Java EMF Model SDK”
    org.eclipse.jem.source (1.2.1.v20060815_M—-6zXJJzKIRGVU) “Java EMF Model Source”
    org.eclipse.jst (1.5.2.v200610070620-kW-OA1vfaZTJtXg) “J2EE Standard Tools (JST)”
    org.eclipse.jst (1.5.2.v20061111) “J2EE Standard Tools (JST)”
    org.eclipse.jst.common_core.feature.source (1.5.1.v200608082030–0842282_363739) “J2EE Standard Tools – Common Core Source”
    org.eclipse.jst.enterprise_core.feature.source (1.5.2.v200610140800–2PD88PA8APDAGS) “J2EE Standard Tools – Enterprise Core Source”
    org.eclipse.jst.enterprise_ui.feature.source (1.5.2.v200610070620-pEBq_k_B5F5vHf6) “J2EE Standard Tools – Enterprise UI Source”
    org.eclipse.jst.sdk (1.5.2.v200610070620-dnUUNbBDstmRfV2) “J2EE Standard Tools (JST)”
    org.eclipse.jst.server_adapters.feature.source (1.5.2.v200610190100–87cMN7OFSx4YPT) “J2EE Standard Tools – Server Adapters Source”
    org.eclipse.jst.server_core.feature.source (1.5.2.v200610070620–2PD88P9LCN7787) “J2EE Standard Tools – Server Core Source”
    org.eclipse.jst.server_ui.feature.source (1.5.1.v200608082030-PGIEUCdEgCIEO8I) “J2EE Standard Tools – Server UI Source”
    org.eclipse.jst.web_core.feature.source (1.5.2.v200610070620–87cMN7RkU-WXcu) “J2EE Standard Tools – Web Core Source”
    org.eclipse.jst.web_ui.feature.source (1.5.1.v200608082030–2PD88P8T_IB_EI) “J2EE Standard Tools – Web UI Source”
    org.eclipse.pde (3.2.1.r321_v20060823-6vYLLdQ3Nk8DrFG) “Eclipse Plug-in Development Environment”
    org.eclipse.pde.source (3.2.1.r321_v20060823-6vYLLdQ3Nk8DrFG) “Eclipse Plug-in Development Environment Developer Resources”
    org.eclipse.platform (3.2.1.r321_v20060921-b_XVA-INSQSyMtx) “Eclipse Platform”
    org.eclipse.platform.source (3.2.1.r321_v20060921-b_XVA-INSQSyMtx) “Eclipse Platform Plug-in Developer Resources”
    org.eclipse.rcp (3.2.1.r321_v20060801-2ekW2BxmcpPUOoq) “Eclipse RCP”
    org.eclipse.rcp.source (3.2.1.r321_v20060801-2ekW2BxmcpPUOoq) “Eclipse RCP Plug-in Developer Resources”
    org.eclipse.sdk (3.2.1.r321_v20060801-tQ1w49KnTArT0FZ) “Eclipse Project SDK”
    org.eclipse.wst (1.5.2.v200610070620-X3Tmm8_VLz2EcCH) “Web Standard Tools (WST)”
    org.eclipse.wst (1.5.2.v20061111) “Web Standard Tools (WST)”
    org.eclipse.wst.common_core.feature.source (1.5.2.v200610140800–AXrVWXbElCl05G) “Web Standard Tools – Common Core Source”
    org.eclipse.wst.common_ui.feature.source (1.5.2.v200610140800-qKHiTHohjmcJ67O) “Web Standard Tools – Common UI Source”
    org.eclipse.wst.rdb_adapters.feature.source (1.5.2.v200610171240–Cq0bcpjKsVtauY) “Web Standard Tools SDK – RDB Component”
    org.eclipse.wst.rdb_core.feature.source (1.5.2.v200610171240–3YIAAYCNETEZLJ) “Web Standard Tools SDK – RDB Component”
    org.eclipse.wst.rdb_ui.feature.source (1.5.2.v200610171240-FTMjwT_jS-R7nrK) “Web Standard Tools SDK – RDB Component”
    org.eclipse.wst.sdk (1.5.2.v200610070620-O2U9W5yZ8Xaybx1) “Web Standard Tools (WST)”
    org.eclipse.wst.server_core.feature.source (1.5.2.v200610070620——1G955G6C6L) “Web Standard Tools – Server Core Source”
    org.eclipse.wst.server_ui.feature.source (1.5.2.v200610070620-PGIEUHzQoGdLZGn) “Web Standard Tools – Server UI Source”
    org.eclipse.wst.web_core.feature.source (1.5.2.v200610140800–4hNDDhEmKWFYQL) “Web Standard Tools – Web Core Source”
    org.eclipse.wst.web_ui.feature.source (1.5.2.v200610140800-zjf2SqQvH40Gasr) “Web Standard Tools – Web UI Source”
    org.eclipse.wst.ws_core.feature.source (1.5.2.v200610140800–4hNDDhEmGSKJHa) “Web Standard Tools – Web Service Core Source”
    org.eclipse.wst.ws_ui.feature.source (1.5.2.v200610070620-hai7Do_y98HDOuI) “Web Standard Tools – Web Service UI Source”
    org.eclipse.wst.xml_core.feature.source (1.5.1.v200608082030–3YIAAYAjGLENFH) “Web Standard Tools – XML Core Source”
    org.eclipse.wst.xml_ui.feature.source (1.5.2.v200610071830-zkiCc0C2eGeGexE) “Web Standard Tools – XML UI Source”
    org.eclipse.xsd (2.2.1.v200609210005) “XML Schema Infoset Model (XSD)”
    org.eclipse.xsd (2.2.1.v200609210005) “XML Schema Infoset Model (XSD)”
    org.eclipse.xsd.doc (2.2.1.v200609210005) “XML Schema Infoset Model (XSD) Programmers Guide”
    org.eclipse.xsd.source (2.2.1.v200609210005) “XML Schema Infoset Model (XSD) Source”

    #263773

    Riyad Kalla
    Member

    Jonny,
    The preview is meant as a lightweight quick-shot of what your page will look like. In most cases it will not fully evaluate all taglibs or expressions for you. Their is little cost to deploying the project as an exploded deployment and seeing the page run inside of an app server so we did not try to make the preview view and all-encompassing solution for page previewing.

    Also a quick way to get everything in tip top shape (to fix that WST conflict issue) is to download our All-In-One installer for Windows and install it to a brand new location, then re-open your existing workspace using it.

    #263780

    Thanks for the reply.

    I would have thought the preview option would be advanced enough to be able to process includes? But as you say, it isn’t too much hassle to check with the real browser.

    WRT validating JSTL, surely the editor is meant to do this correctly? Currently this code:
    …..
    <jsp:useBean id= “accessor” class = “enjoy.BoringAccessor”/>
    <c:set var = “holidaysIt” value = “${accessor.holidaysIterator}”/>
    …..
    results in a warning that the local variable accessor is never used, which is clearly not the case. Is this a bug, or do you think it is a problem with my installation?

    Thanks in advance,

    Jonny

    #263785

    Riyad Kalla
    Member

    results in a warning that the local variable accessor is never used, which is clearly not the case. Is this a bug, or do you think it is a problem with my installation?

    Unfortunately this is a bug we are tracking and hope to get fixed soon. It effects a lot of folks that use a combination of scriplets and taglibs together, very frustrating.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Multiple problems

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