Problem with application runnung

02 May '15, 08:27 PM
68,288 Views
No Forum Badges

Hello!

I am trying to run the very first application "Hello Word". After I press "Generate and run on Clound" I get an error inside Webratio - Compile failed

org.eclipse.core.runtime.CoreException: C:\WebRatio\WebRatio Platform 7.2.7.x64bit\WebRatio\plugins\com.webratio.generator.webapp_7.2.7.201410240114\DataModel\JavaCompile.xml:7: Compile failed; see the compiler error output for details.
    at org.eclipse.ant.core.AntRunner.handleInvocationTargetException(AntRunner.java:452)
    at org.eclipse.ant.core.AntRunner.run(AntRunner.java:384)
    at org.eclipse.ant.core.AntRunner.run(AntRunner.java:475)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:483)
    at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
    at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
    at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
    at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)
    at org.codehaus.groovy.runtime.InvokerHelper.invokePojoMethod(InvokerHelper.java:766)
    at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:754)
    at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:170)
    at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod0(ScriptBytecodeAdapter.java:198)
    at com_webratio_generator_webapp_7_2_7_201410240114_DataModel_Main_template_1430337325037.run(com_webratio_generator_webapp_7_2_7_201410240114_DataModel_Main_template_1430337325037:134)
    at com.webratio.commons.transform.groovy.GroovyTemplate.evaluateObject(GroovyTemplate.java:255)
    at com.webratio.commons.transform.groovy.GroovyTemplate.evaluateScript(GroovyTemplate.java:192)
    at com.webratio.commons.transform.groovy.GroovyTemplate.evaluate(GroovyTemplate.java:167)
    at com.webratio.commons.transform.groovy.Script2$ExecuteTemplateClosure.doCall(Script2.java:124)
    at com.webratio.commons.transform.groovy.Script2$ExecuteTemplateClosure.doCall(Script2.java:108)
    at com.webratio.commons.transform.groovy.Script2$ExecuteTemplateClosure.doCall(Script2.java:104)
    at sun.reflect.GeneratedMethodAccessor743.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:483)
    at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
    at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
    at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
    at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:927)
    at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:78)
    at com_webratio_generator_webapp_7_2_7_201410240114_WebApp_Main_template_1430337326807.run(com_webratio_generator_webapp_7_2_7_201410240114_WebApp_Main_template_1430337326807:112)
    at com.webratio.commons.transform.groovy.GroovyTemplate.evaluateObject(GroovyTemplate.java:255)
    at com.webratio.commons.transform.groovy.GroovyTemplate.evaluateScript(GroovyTemplate.java:192)
    at com.webratio.commons.transform.groovy.GroovyTemplate.evaluate(GroovyTemplate.java:167)
    at com.webratio.commons.transform.groovy.GroovyTemplate.evaluate(GroovyTemplate.java:149)
    at com.webratio.ide.deploy.core.jobs.GenerateWebAppJob.doRun(GenerateWebAppJob.java:164)
    at com.webratio.ide.deploy.core.jobs.AbstractDeploymentJob.runExternal(AbstractDeploymentJob.java:84)
    at com.webratio.commons.mf.jobs.ExternalJob.run(ExternalJob.java:53)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: C:\WebRatio\WebRatio Platform 7.2.7.x64bit\WebRatio\plugins\com.webratio.generator.webapp_7.2.7.201410240114\DataModel\JavaCompile.xml:7: Compile failed; see the compiler error output for details.
    at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:1079)
    at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:882)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:483)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:662)
    at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:495)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:483)
    at org.eclipse.ant.core.AntRunner.run(AntRunner.java:378)
    ... 37 more

 

and then browser opens with the following messages of Tomcat:

HTTP status 404 -

Type Status report

message

description The requested resource is not available.

 

What could be the problem here?

Thanks for attention.

 

 
x 0
Follow
Answer Answer at this question and get points!
Forum Hero - Level 9

Hi Amir,

the reported error is due to the wrong Java version. WebRatio 7 does not supports JDK 1.8. You should use Oracle jdk 1.6 or 1.7.

This does not force you to uninstall jdk v 1.8, you can just set the JAVA_HOME environment variable in order to use one or the other jdk version.

For example in Windows, to set a specific version of java on startup of WebRatio you can change the -vm path in the "Destination" parameter that is in the properties window of the shortcut of WebRatio.

 
x 0
Forum Starter - Level 3

Hello, in Llinux, download the JDK 1.7 in:

http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html

Then, it is decompressed and from the WebRatio folder you do the following:

./WebRatio -vm /opt/eclipses/webratio/Java-7/jdk1.7.0_80/bin/

 

Regards,

Jose

 
x 0
Answer at this question and get points!

Related questions

404 on generated app page 500 error with WebRatio BPM 502 proxy error-generate and run A Commercial Hosting Service for the publication of a Website? Add logging capability to a Groovy script (unit) Admin area disabled aggiornamento fallito a causa di un errore interno Ajax and FCK Editor (WebRatio 5.x) ajax and javascript AJAX events problem to external JavaScript Ajax is not working in own style project Ajax link success callback? Ajax onchange and jQuery 2.x (with migrate plugin) incompatible Ajax on change selection field and modify units Ajax web app with javascript history object using the WebRatio Any sample deployment API documentation? application not deploying properly Autocomplete template Automatization of deployment AWS Elastic Beanstalk y Webratio Browser integration in enterprise project Build Project. Only files for compilation .class Can I deploy an application to the cloud using RightScale and/or Scalr? Can I integrate Amazon S3 and/or Amazon CloudFront? Can I use Git with Webratio Cannot invoke method putAll() on null object Cannot invoke method selectSingleNode() on null object Can't generate and run database or start tomcat server! Can't run any aplication ckeditor - change directory for the browser Code is exceeding the 65535 bytes limit error on JBOSS Como abrir una ventana en ajax desde una master page Como usar la función autocomplete en un field Compare with the current time Component computation com.webratio.struts.exceptions.WRSecurityException: Invalid request target host Connection refused. connect to Cloud Custom Plug-in Custom Unit and AJAX / SOAP Database connection, Host and Port number Data flow from a page which is not visible anymore DB in Data Service Project Debug configuration Dependencies installation error Deploy de proyecto en HTTPS Deploy in Cloud Amazon Beanstalk with Postgres Deploying to CloudBees Deploy web project da riga di comando Deploy with a Web Platform Community Edition- Disabilitare campi durante evento AJAX Disable diagram antialiasing on Mac? error activating student account Error deploying Bookstore sample to cloud Error deploying WAR against to JBOSS Error testing mobil app in android Error updating metadata process Error when updating to WR 7.2.3 Filtros Caracteres Especiales Find Model Problemas Format currency forward/backward navigation and bookmark in ajax web app From BPM to WebProject - BUILD FAILED Generation errors on ajax enabled page with many components, ajax links and selective refresh "Generation Error" with Generate and Run getting data from database Getting the absolute path of a RTXBLOBData Groovy script numer after an error Guardar Saltos de LINEA Hacer pruebas unitarias y de integración / Unit Test in WebRatio HelloWorld Unit sample code Help with math unit. Debug mode says error as result code Hide a form if condition if true Hide form until a flow is triggered Hiding form components based on page conditions Hiding landmarks (or flows) when the user is logged in Hierarchy component How to accelerate the generation process? How to add an image in a modal/pop-up window? How to avoid language selection automatically according to the browser? How to define a shortcut key for a toolbar icon how to delete this error? How to disble derby database? How to fix Network error(status 0) How to get a wr:AjaxURL tag working How to keep current page/block of List/Hierarchy (Index) components after ajax link clickwith selective refresh? How to localize AJAX waiting dialog? How to open a window ajax in a BPM activity? How to process IFML Model (build with Eclipse editor) with ATL How to use GoogleGeocoding Add-on How to use LandmarkMenu as AJAX navigation how to use the landmark menu as AJAX navigation i can't install mobile version on windows I can't install Webratio on my Desktop (Ubuntu 13.04 x64) I can't run any application with WebRatio (Table/View 'APP.POST' does not exist) Installation with java 1.8 Installazione Macosx invio mail fallito java.lang.NullPointerException javascript history object java virtual machine error Job not start correctly JSP/DO issues on Tomcat 5.5 (Ubuntu) Login Error Logs in page mandatory control code parameter is missing Mensaje: the selection cannot be launched and there are no recent launches Missing plugin emulation support error Missing units when importing project Multi Selects didn't work in update page Next Activity Note property - Error synchronizing with web project No access to protected site view with Login No Apache Derby driver found No cloud accounts available No database on my cloud account Page Home - First time the Project Web begins Problema al generar y ejecutar proyecto problema con la apertura del navegador Problema generando la logica de un proyecto Problema generazione codice Problema Grafo da una lista gerarchica Problema ¨HTTP Status 404" Problemas con el Operations View Delete Problem: Compile Failed problemi installazione su Mac sistema operativo OSX El Capitan Problem in adding diagrams in IFML Editor (Eclipse) problem in eclipse IFML Editor problem on first deploy with webratio Problems to connect Sql Server DB from Webratio Problem syncing reports Problem to run an Application Problem with execution of webratio Problem with ireport Problem with the deletion of more than 50.000 records in a table Progress bar when uploading big file(s) in a form? Project cannot be opened with WebRatio Community Platform Project generation best practices redeployCheckInterval property Regla de negocio para que no permita repetirse un campo REST connection and Mobile App deploy Retrieve a value and add some value to it Root Context & Enterprise Project Sample web application Schedule a Job when adding a record to the database Scroll ajax problem selection fields on cascade Selezione sul giorno "Events Planning" Showing items that have a relation with an entity Situs Games Online terbaik idnslot138 dengan games online terbaik di tahun 2024 Solve "Generation Error" with Generate and Run option Some hint before I generate and deploy a webapp on a 64-bit windows system? Start Job when WebApp starts Student reserved area, download error Sync DataService Project with Mobile Project Table 'freeapp43.profesion' doesn't exist Tomcat buttons Tomcat external session store and WebRatio webapp. "Unable to close sub-context ..." Unable to compute the controller URL(s) for applicationUnable to compute the controller URL(s) for application having status PROVISIONING Unable to connect to Internet Unable to execute the script java.lang.NullPointerException Unable to find Cloud free function Unable to get ExpenseReport example work in WebRation Personl 7.2.2 Unable to install eclipse plugin Unable to instantiate a new application instance Unable to update the web project Unable to use Visual Debug Unknow property on Dynaclass after generation Unspecified BPM Engine Database Update fields based on selection of other fields Updating attributes of an entity User Login Timestamp Use Running profile en project Uso de la componente chart de webRatio Vista de diferentes Site Views WAR Generation Error Webratio Add-ons no permite login Web Ratio Add-ons shop not working WebRatio Browser Integration (Mozilla) Not Supported WEBRATIO LINUX AT EXECUTION TIME WebRatio Mobile on Linux using wrong network interface. Web Ratio Mobile plateform Macos Sierra Web Ratio Mobile - Remote data mapping problem Webratio with Git support WebRatio y Java 1.8 (o superior) When execute my web application I have this error: returned a null bean which of these three models is closer to webratio/ifml way of creating web applications wr-ajaxDivs break layout on ajax pages. XPCOM Error