Quantcast
Channel: zeroturnaround.com » All Posts
Viewing all 2540 articles
Browse latest View live

Reply To: Serious problem with EAP 6.4.12 and EJB

$
0
0

Hi,
Yes, it is. Just to confirm that the issue is fixed, you can download the standalone agent and switch it in the existing Eclipse plugin as described in:
https://zeroturnaround.com/software/jrebel/download/nightly-build/

This way the JRebel Eclipse plugin stays the same and only JRebel Agent changes, but it is recommended that you update the plugin aswell. (Eclipse marketplace might handle it for you.)


Reply To: Serious problem with EAP 6.4.12 and EJB

$
0
0

Hi,

thank you for your new version. I will check it out asap.

Reply To: Serious problem with EAP 6.4.12 and EJB

$
0
0

Ok, after a couple of tests I can confirm that reloading of EJB’s seems to work again.
Thank you for your quick help. What do you think, when will be a release version available?

Reply To: Serious problem with EAP 6.4.12 and EJB

$
0
0

Hi, glad that it works. it will be released in the end of month most likely.

XPathFactory#newInstance() failed to create an XPathFactory for the default obje

$
0
0

During the start of a JRebel-enhanced JBoss Server:

2017-02-15 08:58:21 JRebel: ERROR Failed to start a plugin org.zeroturnaround.jrebel.stats.id.container.ContainerIdentifierPlugin in sun.misc.Launcher$AppClassLoader@18b4aac2: java.lang.RuntimeException: XPathFactory#newInstance() failed to create an XPathFactory for the default object model: http://java.sun.com/jaxp/xpath/dom with the XPathFactoryConfigurationException: javax.xml.xpath.XPathFactoryConfigurationException: No XPathFctory implementation found for the object model: http://java.sun.com/jaxp/xpath/dom
at javax.xml.xpath.XPathFactory.newInstance(Unknown Source)
at org.zeroturnaround.jrebel.stats.id.container.serverrules.RulesWebsphereVersion.<init>(RulesWebsphereVersion.java:30)
at org.zeroturnaround.jrebel.stats.id.container.ContainerIdentifier.<init>(ContainerIdentifier.java:38)
at org.zeroturnaround.jrebel.stats.id.container.ContainerIdentifierPlugin.preinit(ContainerIdentifierPlugin.java:40)
at com.zeroturnaround.javarebel.mc.a(SourceFile:446)
at com.zeroturnaround.javarebel.mc.a(SourceFile:433)
at com.zeroturnaround.javarebel.mc.a(SourceFile:547)
at com.zeroturnaround.javarebel.rz.h(SourceFile:151)
at com.zeroturnaround.javarebel.rz.e(SourceFile:175)
at com.zeroturnaround.javarebel.rz.a(SourceFile:102)
at com.zeroturnaround.javarebel.qv.a(SourceFile:311)
at com.zeroturnaround.javarebel.SDKIntegrationImpl.findReloadableClass(SourceFile:103)
at com.zeroturnaround.javarebel.sd.findReloadableClass(SourceFile:16)
at java.net.URLClassLoader.findClass(URLClassLoader.java)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at sun.instrument.InstrumentationImpl._jrloadClassAndStartAgent(InstrumentationImpl.java:304)
at com.zeroturnaround.jrebelbase.reorder.b.a(SourceFile:30)
at com.zeroturnaround.jrebelbase.reorder.a.c(SourceFile:112)
at com.zeroturnaround.jrebelbase.reorder.a.a(SourceFile:101)
at com.zeroturnaround.javarebel.eus.a(SourceFile:300)
at com.zeroturnaround.javarebel.eus.deferredInitHook(SourceFile:133)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java)

Anybody has a clue?

Constantly seeing ClassPathScanningCandidateComponentProvider log messages

$
0
0

Hi,

Since “upgrading” from the legacy agent to the JRebel 7 agent, we’re now seeing constantly in the logs of our application messages like this:
15:12:20,528 INFO [ClassPathScanningCandidateComponentProvider:186] JSR-330 ‘javax.inject.Named’ annotation found and supported for component scanning
15:12:20,616 INFO [ClassPathScanningCandidateComponentProvider:178] JSR-250 ‘javax.annotation.ManagedBean’ found and supported for component scanning
15:12:20,616 INFO [ClassPathScanningCandidateComponentProvider:186] JSR-330 ‘javax.inject.Named’ annotation found and supported for component scanning
15:12:20,660 INFO [ClassPathScanningCandidateComponentProvider:178] JSR-250 ‘javax.annotation.ManagedBean’ found and supported for component scanning

Everytime we’re reloading a web page or there is some interaction with our web application, we have those messages constantly, like 20 in a row and more from time to time.

It seems also that our application is using more CPU, but it might be just a feeling, I can’t prove it.

It’s just in development mode, but it’s annoying.

We’re using JRebel with Liferay 6.2, with Spring MVC portlets (that are using annotations).

What could be causing those log messages? Could this have an impact on the CPU usage? Can we just silence those logs, if so, how? I tried using -Drebel.log=warn but I still see them..

Thanks!

Reply To: XPathFactory#newInstance() failed to create an XPathFactory for the default obje

Reply To: JRebel not working at JBoss EAP 6.4.11

$
0
0

We have the folowing problem with JBoss EAP 6.4.13
09:56:10,295 ERROR [stderr] (MSC service thread 1-8) 2017-02-20 09:56:10 JRebel: ERROR Class ‘org.jboss.as.ee.component.BasicComponentCreateService’ could not be processed by org.zeroturnaround.javarebel.jboss7.base.cbp.BasicComponentCreateServiceCBP@sun.misc.Launcher$AppClassLoader@18b4aac2: org.zeroturnaround.bundled.javassist.CannotCompileException: [source error] cannot find constructor org.jboss.as.ee.component.ComponentConfiguration(org.jboss.as.ee.component.ComponentDescription,org.jboss.as.server.deployment.reflect.ClassIndex,java.lang.ClassLoader)

  • This reply was modified 2 hours, 14 minutes ago by  rfrank.

JRebel not working at JBoss EAP 6.4.13

$
0
0

We are using RedHat EAP 6.4.13, Java 8u121, eclipse 6.4.2, jRebel 7.0.4
While starting jBoss the following error occurs:
09:56:10,295 ERROR [stderr] (MSC service thread 1-8) 2017-02-20 09:56:10 JRebel: ERROR Class ‘org.jboss.as.ee.component.BasicComponentCreateService’ could not be processed by org.zeroturnaround.javarebel.jboss7.base.cbp.BasicComponentCreateServiceCBP@sun.misc.Launcher$AppClassLoader@18b4aac2: org.zeroturnaround.bundled.javassist.CannotCompileException: [source error] cannot find constructor org.jboss.as.ee.component.ComponentConfiguration(org.jboss.as.ee.component.ComponentDescription,org.jboss.as.server.deployment.reflect.ClassIndex,java.lang.ClassLoader)

Reply To: VerifyError in patched WebLogic 12c

$
0
0

Hi,

Finally I got answer from Oracle. We can’t provide patch to you because you don’t have contract between Oracle. Is it possible that could make one and then fix JRebel? It would be nice that we could develop against patched version, instead of non-patched version.

Reply To: JRebel not working at JBoss EAP 6.4.11

Reply To: JRebel not working at JBoss EAP 6.4.13

$
0
0

Hi Frank,

This issue has been fixed in the latest nightly build available at https://zeroturnaround.com/software/jrebel/download/nightly-build/. Download the JRebel Standalone Nightly Build. Then extract the file and point your eclipse to use the new jrebel.jar (Help -> JRebel -> Configuration -> Advanced -> Choose other jrebel.jar from JRebel Agent window).

Let me know if you are able to resolve the issue.

All the best,
Risto

Reply To: XPathFactory#newInstance() failed to create an XPathFactory for the default obje

$
0
0

Since getting this nightly build I haven’t experienced the problem anymore, so it seems to have done it for me. Thanks!

Reply To: VerifyError in patched WebLogic 12c

$
0
0

Hi,
We will discuss this. Thanks for the info.

Reply To: NPE while accessing parent class after code changes


NPE while accessing parent class after code changes

$
0
0

Hi there,

recently, I got some NPE while accessing the instance of an outer class using implicit “OuterClass.this” after JRebel reloads.

I was able to write a (medium) small, absolutely useless Testclass to reproduce this error:

import java.awt.Frame;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JDialog;
import javax.swing.JList;
import javax.swing.SwingUtilities;
import javax.swing.Timer;
import javax.swing.event.ListSelectionEvent;
import javax.swing.event.ListSelectionListener;

public class JRebelTest extends JDialog {

	private JList<String> list = null;

	private Timer repaintTimer;

	public JRebelTest() {
		super((Frame) null, "JRebel Test", true);

		getContentPane().setLayout(new GridLayout(1, 1));
		setSize(400, 400);

		// MOVE THIS BLOCK
		repaintTimer = new Timer(1000, new ActionListener() {

			@Override
			public void actionPerformed(ActionEvent e) {
				System.out.println("repainting");
				repaint();
				getBounds();
			}
		});
		repaintTimer.start();
		// MOVE THIS BLOCK


		reload();
	}

	private void printTest() {
		System.out.println("still working");
	}


	public void reload() {
		System.out.println("Reloading...");
		SwingUtilities.invokeLater(new Runnable() {
			@Override
			public void run() {
				list = new JList<String>(new String[] { "Row 1", "Row 2" });
				list.getSelectionModel().addListSelectionListener(new ListSelectionListener() {

					@Override
					public void valueChanged(ListSelectionEvent e) {
						printTest();
					}
				});

				getContentPane().removeAll();
				getContentPane().add(list);

				// TO HERE
			}
		});

	}

	public static void main(String[] args) {
		JRebelTest frame = new JRebelTest();
		frame.setAlwaysOnTop(true);
		frame.setVisible(true);
	}

}

The steps to reproduce the error are:

  1. Start the application
  2. Click to the list items to see that printTest() is called correctly
  3. Cut the code-block between “MOVE THIS BLOCK”
  4. Important: save the file and wait until JRebel reloaded the changes
  5. Click to the list items to see that printTest() is still working
  6. Paste the extracted code block to “TO HERE”
  7. Save the file and wait until JRebel reloaded the changes
  8. Click to the list items to see that printTest() is not working anymore

During this test, I get the following output and error:

2017-02-22 11:35:59 JRebel: [jrebel license init]
Reloading...
repainting
still working
still working
still working
still working
repainting
repainting
repainting
repainting
repainting
repainting
repainting
repainting
repainting

cutted the block and saved the file

2017-02-22 11:36:10 JRebel: Reloading class 'JRebelTest$1'.
2017-02-22 11:36:10 JRebel: Reloading class 'JRebelTest'.
repainting
repainting
repainting
repainting
repainting
repainting
repainting
still working
still working
still working
repainting
still working
repainting
repainting
repainting

pasted the block and saved the file

2017-02-22 11:36:21 JRebel: Reloading class 'JRebelTest$1'.
2017-02-22 11:36:21 JRebel: Reloading class 'JRebelTest'.
repainting
repainting

clicked on one list item

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
	at JRebelTest$2.access$0(JRebelTest.java:51)
	at JRebelTest$2$1.valueChanged(JRebelTest.java:59)
	at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:184)
	at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:164)
	at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:211)
	at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:405)
	at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:415)
	at javax.swing.DefaultListSelectionModel.setSelectionInterval(DefaultListSelectionModel.java:459)
	at javax.swing.JList.setSelectionInterval(JList.java:2065)
	at javax.swing.plaf.basic.BasicListUI$Handler.adjustSelection(BasicListUI.java:2739)
	at javax.swing.plaf.basic.BasicListUI$Handler.mousePressed(BasicListUI.java:2695)
	at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:280)
	at java.awt.Component.processMouseEvent(Component.java:6530)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
	at java.awt.Component.processEvent(Component.java:6298)
	at java.awt.Container.processEvent(Container.java:2236)
	at java.awt.Component.dispatchEventImpl(Component.java:4889)
	at java.awt.Container.dispatchEventImpl(Container.java:2294)
	at java.awt.Component.dispatchEvent(Component.java:4711)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4522)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
	at java.awt.Container.dispatchEventImpl(Container.java:2280)
	at java.awt.Window.dispatchEventImpl(Window.java:2746)
	at java.awt.Component.dispatchEvent(Component.java:4711)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
	at java.awt.EventQueue$4.run(EventQueue.java:731)
	at java.awt.EventQueue$4.run(EventQueue.java:729)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
	at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
	at JRebelTest$2.access$0(JRebelTest.java:51)
	at JRebelTest$2$1.valueChanged(JRebelTest.java:59)
	at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:184)
	at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:154)
	at javax.swing.DefaultListSelectionModel.setValueIsAdjusting(DefaultListSelectionModel.java:685)
	at javax.swing.JList.setValueIsAdjusting(JList.java:2140)
	at javax.swing.plaf.basic.BasicListUI$Handler.mouseReleased(BasicListUI.java:2796)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:290)
	at java.awt.Component.processMouseEvent(Component.java:6533)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
	at java.awt.Component.processEvent(Component.java:6298)
	at java.awt.Container.processEvent(Container.java:2236)
	at java.awt.Component.dispatchEventImpl(Component.java:4889)
	at java.awt.Container.dispatchEventImpl(Container.java:2294)
	at java.awt.Component.dispatchEvent(Component.java:4711)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
	at java.awt.Container.dispatchEventImpl(Container.java:2280)
	at java.awt.Window.dispatchEventImpl(Window.java:2746)
	at java.awt.Component.dispatchEvent(Component.java:4711)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
	at java.awt.EventQueue$4.run(EventQueue.java:731)
	at java.awt.EventQueue$4.run(EventQueue.java:729)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
	at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
repainting
repainting
repainting
repainting
repainting
repainting
repainting
repainting
repainting

Could you please verify this?

Thx,

Andreas

Forbidding reloading of class X haven\'t seen a single authenticated IDE transact

$
0
0

I get this message in jrebel.log whenever I change my class.
[Licensing] Forbidding reloading of class ‘com.verizon.ecats.bea.CreditApplicationFraudDetail’ – haven’t seen a single authenticated IDE transaction!

So, it detects the change, but just refuses to reload the class.. Please help!

JAXWS support

$
0
0

Does JRebel support JAX-WS ejb endpoints and JAX-WS annotations ?

Thank you

JRebel and Java 8 support

$
0
0

Hi,

I cannot use the JRelbel, since the Android Studio gives me an Error when i try to run it via pluggin.

This is my problem:

Error:A problem occurred configuring project ‘:app’.
> Jack is required to support java 8 language features. Either enable Jack or remove sourceCompatibility JavaVersion.VERSION_1_8.

This is my gradle file:

apply plugin: 'com.android.application'

android {
    compileSdkVersion 25
    buildToolsVersion "25.0.2"
    signingConfigs {
        release {
            keyAlias keystoreProperties['keyAlias']
            keyPassword keystoreProperties['keyPassword']
            storeFile file('/home/wayne/.android/release.keystore')
            storePassword keystoreProperties['storePassword']
        }
    }
    buildTypes.each {
        it.buildConfigField 'String', 'API_KEY', keystoreProperties['apiKey']
    }
    defaultConfig {
        applicationId "de.bvlg900f.projectonemvp"
        minSdkVersion 24
        targetSdkVersion 25
        versionCode 1
        versionName "1.0"

        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

        jackOptions {
            enabled true
        }
        compileOptions {
            sourceCompatibility JavaVersion.VERSION_1_8
            targetCompatibility JavaVersion.VERSION_1_8
        }

    }
    buildTypes {
        debug {
            debuggable true
            applicationIdSuffix = ".debug"
        }
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
    productFlavors {
        mock {
            applicationIdSuffix = ".mock"
        }
        prod {

        }
    }
    // Remove mockRelease as it's not needed.
    android.variantFilter { variant ->
        if(variant.buildType.name == 'release'
                && variant.getFlavors().get(0).name == 'mock') {
            variant.setIgnore(true);
        }
    }
}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])

    ///////////////////// Default /////////////////////
    compile "com.android.support:appcompat-v7:$supportVersion"
    compile "com.android.support:recyclerview-v7:$supportVersion"
    compile "com.android.support:cardview-v7:$supportVersion"
    compile "com.android.support:design:$supportVersion"
    compile "com.android.support:support-v4:$supportVersion"
    compile "com.android.support.constraint:constraint-layout:$constraintLayoutVersion"
    // Google
    compile "com.google.guava:guava:$guavaVersion"
    // Butter-Knife
    compile "com.jakewharton:butterknife:$butterKnifeVersion"
    annotationProcessor "com.jakewharton:butterknife-compiler:$butterKnifeVersion"
    // Glide
    compile "com.github.bumptech.glide:glide:$glideVersion"
    // Retrofit
    compile 'com.google.code.gson:gson:2.7'
    compile "com.squareup.retrofit2:retrofit:$retrofitVersion"
    compile "com.squareup.retrofit2:converter-gson:$retrofitVersion"

    ///////////////////// Debug /////////////////////
    debugCompile "com.facebook.stetho:stetho:$stethoVersion"
    debugCompile "com.facebook.stetho:stetho-okhttp3:$stethoVersion"
    debugCompile "com.facebook.stetho:stetho-js-rhino:$stethoVersion"

    ///////////////////// Tests /////////////////////
    // Unit
    testCompile "junit:junit:$junitVersion"
    testCompile "org.mockito:mockito-core:$mockitoVersion"
    // Android Testing Support Library's runner and rules
    androidTestCompile "com.android.support.test:runner:$runnerVersion"
    androidTestCompile "com.android.support.test:rules:$rulesVersion"
    // Espresso UI Testing dependencies.
    androidTestCompile "com.android.support.test.espresso:espresso-core:$expressoVersion"
    // Dependency for androidTestCompile
    androidTestCompile "com.android.support:support-annotations:$supportVersion"
}
  • This topic was modified 1 day, 14 hours ago by  Bruno Lucena.

Gradle Build failed – cant support Java 8

$
0
0

JRebel for android failed to compile, java 8 should have below support in Gradle.
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}

Error message as follow:


1:14:25 PM Platform and Plugin Updates: The following components are ready to update: Android Support Repository, Google Repository, Google APIs Intel x86 Atom System Image, Android SDK Tools 25.2.5
1:14:26 PM Gradle sync started
1:14:55 PM Gradle sync completed
1:14:56 PM Executing tasks: [:app:generateDebugSources, :app:mockableAndroidJar, :app:prepareDebugUnitTestDependencies, :app:generateDebugAndroidTestSources]
1:15:19 PM Gradle build finished in 23s 615ms
1:15:43 PM Cannot Run with JRebel for Android: Gradle build failed! Check the messages tab.

Any solution?

Viewing all 2540 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>