引用oracle驱动后在idea中不能调试 #589

Closed
opened 2017-05-25 04:51:27 +00:00 by chaosch · 0 comments
chaosch commented 2017-05-25 04:51:27 +00:00 (Migrated from github.com)

程序能执行,但不能调试,报错:
could not launch process: Could not determine version number: could not find symbol value for runtime.buildVersion
但移除这个引用之后,便能调试.

import (
_ "github.com/go-sql-driver/mysql"
_ "github.com/jacoblai/go-mssqldb"
_ "github.com/mattn/go-oci8"
"net/http"
"github.com/julienschmidt/httprouter"
"fmt"
"sync"
"errors"
"github.com/pquerna/ffjson/ffjson"
"io/ioutil"
"egov/go-xorm/xorm"
"gopkg.in/mgo.v2"
)

程序能执行,但不能调试,报错: could not launch process: Could not determine version number: could not find symbol value for runtime.buildVersion 但移除这个引用之后,便能调试. import ( _ "github.com/go-sql-driver/mysql" _ "github.com/jacoblai/go-mssqldb" _ "github.com/mattn/go-oci8" "net/http" "github.com/julienschmidt/httprouter" "fmt" "sync" "errors" "github.com/pquerna/ffjson/ffjson" "io/ioutil" "egov/go-xorm/xorm" "gopkg.in/mgo.v2" )
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: xorm/xorm#589
No description provided.