构建服务器:'错误!无法转移某些课程!'

时间:2016-03-10 12:22:26

标签: codenameone build-server

我想在手机上测试我的应用程序,因此我将其发送到Build服务器(Android)。而不是预期的,成功的构建,我得到一个错误:

select count(*) as row_count
       , UN_PART
       , '@var_table' as TABLE_NAME
from (Select TABLE_NAME from INFORMATION_SCHEMA.COLUMNS where COLUMN_NAME = 'UN_PART')
group by UN_PART

我做错了什么?

通知

  • 我已经在我的移动设备上使用了应用程序并且没有问题
  • 应用程序在模拟器中运行没有问题

编辑1

正如你所要求的,这是我使用课程的方式(我唯一一次使用它):

Error! Failed to transform some classes
java.lang.RuntimeException: java.lang.ClassNotFoundException: com.private.container.projectDetailsContainer.top.center.progCircle.ProgressCircle
    at net.orfjackal.retrolambda.lambdas.BackportLambdaInvocations.loadClass(BackportLambdaInvocations.java:116)
    at net.orfjackal.retrolambda.lambdas.BackportLambdaInvocations.access$100(BackportLambdaInvocations.java:16)
    at net.orfjackal.retrolambda.lambdas.BackportLambdaInvocations$InvokeDynamicInsnConverter.backportLambda(BackportLambdaInvocations.java:101)
    at net.orfjackal.retrolambda.lambdas.BackportLambdaInvocations$InvokeDynamicInsnConverter.visitInvokeDynamicInsn(BackportLambdaInvocations.java:94)
    at net.orfjackal.retrolambda.asm.ClassReader.readCode(ClassReader.java:1452)
    at net.orfjackal.retrolambda.asm.ClassReader.readMethod(ClassReader.java:1017)
    at net.orfjackal.retrolambda.asm.ClassReader.accept(ClassReader.java:693)
    at net.orfjackal.retrolambda.asm.ClassReader.accept(ClassReader.java:506)
    at net.orfjackal.retrolambda.Transformers.lambda$transform$4(Transformers.java:106)
    at net.orfjackal.retrolambda.Transformers$$Lambda$8/636718812.accept(Unknown Source)
    at net.orfjackal.retrolambda.Transformers.transform(Transformers.java:120)
    at net.orfjackal.retrolambda.Transformers.transform(Transformers.java:106)
    at net.orfjackal.retrolambda.Transformers.backportClass(Transformers.java:46)
    at net.orfjackal.retrolambda.Retrolambda.run(Retrolambda.java:72)
    at net.orfjackal.retrolambda.Main.main(Main.java:26)
Caused by: java.lang.ClassNotFoundException: com.private.container.projectDetailsContainer.top.center.progCircle.ProgressCircle
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    at net.orfjackal.retrolambda.NonDelegatingClassLoader.loadClass(NonDelegatingClassLoader.java:27)
    at net.orfjackal.retrolambda.lambdas.BackportLambdaInvocations.loadClass(BackportLambdaInvocations.java:114)
    ... 14 more

班级要大得多,但我遗漏了它的不可靠部分。

这是ProgCircle类:

package com.companyname.mobile.container.projectDetailsContainer.top.center.progCircle;

import java.util.HashMap;

import com.codename1.ui.Container;
import com.codename1.ui.Label;
import com.codename1.ui.layouts.BorderLayout;
import com.codename1.ui.layouts.BoxLayout;
import com.codename1.ui.layouts.GridLayout;
import com.companyname.mobile.renderer.projectListitem.ProjectListItem;

public class ProgressCircleContainer extends Container {
    /*      attributes      */
    private ProgressCircle progressCircle;
    /************************/

    /**
     * Constructor for the Container. 
     * The given parameter is the clicked listitem 
     * 
     * @param clicked List item clicked by the user
     */
    public ProgressCircleContainer (ProjectListItem clicked) {
        this.clicked = clicked;
        init();
    }

    /*
     * initializes the layout of the container
     */
    private void init () {

        this.layout = new GridLayout (2);
        /*      left container      */
        progressCircle = new ProgressCircle(clicked.getStatus());
        leftCont = new Container ();
        leftContLayout = new BorderLayout();
        leftCont.setLayout(leftContLayout);
        leftCont.add(BorderLayout.CENTER, progressCircle);
        /****************************/
        this.add(leftCont); //using gridlayout for the form
    }

    /*      Getter and Setter   */
}

另一个通知: 我想知道它是否可能是太长的包名。我用' companyname'替换了我的公司名称,但它们的长度相等。

如果您需要更多信息,请与我们联系。

如果它不像这样编译,我可能已经删除了一个nessecary部分,但是现在这是我的错。 该应用在模拟器中成功编译并完全正常运行

编辑2:

这里是完整错误的链接: http://pastebin.com/ktCAbxk5

2 个答案:

答案 0 :(得分:1)

您是否以任何方式修改了项目类路径(例如添加了任何罐子或其他源目录)?

答案 1 :(得分:0)

您是否在com.private包中有一个班级?

private是Java中的保留字,所以我真的很惊讶这对你来说无处不在。